diff options
Diffstat (limited to 'rts/Makefile')
-rw-r--r-- | rts/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rts/Makefile b/rts/Makefile index 943f3fe863..74a37fdcb9 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -148,6 +148,11 @@ SRC_CC_OPTS += -DNOSMP SRC_HC_OPTS += -optc-DNOSMP endif +ifeq "$(UseLibFFI)" "YES" +SRC_CC_OPTS += -DUSE_LIBFFI +PACKAGE_CPP_OPTS += -DUSE_LIBFFI +endif + ifneq "$(DYNAMIC_RTS)" "YES" SRC_HC_OPTS += -static else |