projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optionally use libffi to implement 'foreign import "wrapper"' (#793)
[ghc-hetmet.git]
/
compiler
/
Makefile
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
db21ae8
..
04c7778
100644
(file)
--- a/
compiler/Makefile
+++ b/
compiler/Makefile
@@
-276,6
+276,11
@@
ifeq "$(RelocatableBuild)" "YES"
else
@echo "cRelocatableBuild = False" >> $(CONFIG_HS)
endif
else
@echo "cRelocatableBuild = False" >> $(CONFIG_HS)
endif
+ifeq "$(UseLibFFI)" "YES"
+ @echo "cLibFFI = True" >> $(CONFIG_HS)
+else
+ @echo "cLibFFI = False" >> $(CONFIG_HS)
+endif
@echo done.
CLEAN_FILES += $(CONFIG_HS)
@echo done.
CLEAN_FILES += $(CONFIG_HS)