summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-19 19:57:42 +0000
committerIan Lynagh <igloo@earth.li>2009-05-19 19:57:42 +0000
commit1d6393ea16a0f47090619d61cb81d4947cb7010b (patch)
treec391a60f3e2570382c2bf26fdacc58460510ed9b /libffi
parent47f42dc1ee6a5f42133674d0a6684b077e25be6e (diff)
downloadhaskell-1d6393ea16a0f47090619d61cb81d4947cb7010b.tar.gz
Use SRC_CC_OPTS when making HSffi.o
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index fde3a9c781..187e9eb001 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -163,7 +163,7 @@ $(eval $(call all-target,libffi,libffi/libHSffi.a libffi/libHSffi_p.a))
libffi/HSffi.o: libffi/libHSffi.a
cd libffi && \
touch empty.c; \
- $(CC) -c empty.c -o HSffi.o
+ $(CC) $(SRC_CC_OPTS) -c empty.c -o HSffi.o
$(eval $(call all-target,libffi,libffi/HSffi.o))