diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-04 13:45:53 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-11-06 08:05:57 -0500 |
commit | 3ce18700f80a12c48a029b49c6201ad2410071bb (patch) | |
tree | ea7affea39b76cc7bf88c18a1ed89edc4bd3e98b /rts/ghc.mk | |
parent | f9978f5362de07a44f02fa202444c20638fbb63e (diff) | |
download | haskell-3ce18700f80a12c48a029b49c6201ad2410071bb.tar.gz |
rts: Drop redundant flags for libffi
These are now handled in the cabal file's include-dirs field.
Diffstat (limited to 'rts/ghc.mk')
-rw-r--r-- | rts/ghc.mk | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk index 25a1561814..5bd830da6f 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -489,15 +489,10 @@ endif endif # add CFLAGS for libffi -ifeq "$(UseSystemLibFFI)" "YES" -LIBFFI_CFLAGS = $(addprefix -I,$(FFIIncludeDir)) -else -LIBFFI_CFLAGS = -endif # ffi.h triggers prototype warnings, so disable them here: -rts/Interpreter_CC_OPTS += -Wno-strict-prototypes $(LIBFFI_CFLAGS) -rts/Adjustor_CC_OPTS += -Wno-strict-prototypes $(LIBFFI_CFLAGS) -rts/sm/Storage_CC_OPTS += -Wno-strict-prototypes $(LIBFFI_CFLAGS) +rts/Interpreter_CC_OPTS += -Wno-strict-prototypes +rts/Adjustor_CC_OPTS += -Wno-strict-prototypes +rts/sm/Storage_CC_OPTS += -Wno-strict-prototypes # ffi.h triggers undefined macro warnings on PowerPC, disable those: # this matches substrings of powerpc64le, including "powerpc" and "powerpc64" ifneq "$(findstring $(TargetArch_CPP), powerpc64le)" "" |