diff --git a/src/Makefile b/src/Makefile index 9f0643232..46b8c5d2d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -373,7 +373,7 @@ $(dbg) : $(objects) $(lualib) | $$(@D)/ ifdef HAVE_BLUAJIT $(lualib) :: - @$(MAKE) -C ../libs/bluajit $(MAKECMDGOALS) CCOPT="$(opts)" + @$(MAKE) -C ../libs/bluajit $(MAKECMDGOALS) CC="$(CC)" CCOPT="$(opts)" LDFLAGS="$(LDFLAGS)" endif # disassembly of executable