diff options
author | Ian Lynagh <igloo@earth.li> | 2010-12-06 20:33:29 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-12-06 20:33:29 +0000 |
commit | fe83e0acaf0038927b5c1969efb6d4ed9a49bc80 (patch) | |
tree | 85b249d8faf1219da9a59b0fe9eb5e0c06926c87 /rules/build-prog.mk | |
parent | 7c63589a7f9f1f7958efcb48829fc72fc8f312fd (diff) | |
download | haskell-fe83e0acaf0038927b5c1969efb6d4ed9a49bc80.tar.gz |
Link even programs containing no Haskell modules with GHC
I don't remember why we made it use gcc instead, but going back to
using ghc doesn't seem to break anything, and should fix the build
on OS X 10.6.
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r-- | rules/build-prog.mk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 4121ca34b1..ff8d25b689 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -123,9 +123,6 @@ $1_$2_LINK_WITH_GCC = NO ifeq "$$(BootingFromHc)" "YES" $1_$2_LINK_WITH_GCC = YES endif -ifeq "$$($1_$2_v_HS_OBJS)" "" -$1_$2_LINK_WITH_GCC = YES -endif ifeq "$$($1_$2_LINK_WITH_GCC)" "NO" $1/$2/build/tmp/$$($1_$2_PROG) : $$($1_$2_v_HS_OBJS) $$($1_$2_v_C_OBJS) $$($1_$2_v_S_OBJS) $$($1_$2_OTHER_OBJS) | $$$$(dir $$$$@)/. |