X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=bc7099dfeaa89c9fb45704a249d44d6e4c2b8005;hb=1a3efdd6b616f3a101e182f715df5a0e306eb348;hp=a7d8452e48d7b4cf47c712abac872c9cc22a4194;hpb=1f9d5a8835940fa332f2b1b51ff59e0239b5fc3a;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index a7d8452..bc7099d 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -418,6 +418,11 @@ ALL_DIRS += javaGen SRC_HC_OPTS += -DJAVA endif +ifeq ($(UseLibFFI),YES) +SRC_HC_OPTS += -DUSE_LIBFFI +SRC_HSC2HS_OPTS += -DUSE_LIBFFI +endif + ifeq "$(BootingFromHc)" "YES" # HC files are always from a self-booted compiler bootstrapped = YES @@ -597,7 +602,7 @@ endif utils/Digraph_HC_OPTS = -fglasgow-exts -basicTypes/SrcLoc_HC_OPTS = -funbox-strict-fields +# basicTypes/SrcLoc_HC_OPTS = -funbox-strict-fields # We always optimise some low-level modules, otherwise performance of # a non-optimised compiler is severely affected.