diff options
Diffstat (limited to 'lib/compilers/ellcc.js')
-rw-r--r-- | lib/compilers/ellcc.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/compilers/ellcc.js b/lib/compilers/ellcc.js index be90e8eb8..362b4ef5d 100644 --- a/lib/compilers/ellcc.js +++ b/lib/compilers/ellcc.js @@ -21,10 +21,10 @@ // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -const - ClangCompiler = require('./clang'); -class EllccCompiler extends ClangCompiler { +import { ClangCompiler } from './clang'; + +export class EllccCompiler extends ClangCompiler { static get key() { return 'ellcc'; } getSharedLibraryPathsAsArguments() { @@ -33,5 +33,3 @@ class EllccCompiler extends ClangCompiler { return this.compiler.ldPath.map(path => pathFlag + path); } } - -module.exports = EllccCompiler; |