X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FMakefile;h=d187547c39f0985127f24c8a8c64cd3b574a1631;hb=b34e749e0a7593eaeb79ef5c656ab8ea1d42dabe;hp=2522a0b308bc6130da40de9c92c895c41c7678b7;hpb=01e9deecea1f388a771a312e602a9c45898cf2af;p=ghc-hetmet.git diff --git a/rts/Makefile b/rts/Makefile index 2522a0b..d187547 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -119,6 +119,11 @@ SRC_CC_OPTS += $(STANDARD_OPTS) SRC_CC_OPTS += $(GhcRtsCcOpts) SRC_HC_OPTS += $(GhcRtsHcOpts) +ifneq "$(GhcWithSMP)" "YES" +SRC_CC_OPTS += -DNOSMP +SRC_HC_OPTS += -optc-DNOSMP +endif + ifneq "$(DLLized)" "YES" SRC_HC_OPTS += -static endif @@ -239,7 +244,7 @@ boot :: if [ -f gmp/config.status ]; then \ cd gmp && CC=$(WhatGccIsCalled) ./config.status; \ else \ - cd gmp && CC=$(WhatGccIsCalled) ./configure --enable-shared=no \ + cd gmp && CC=$(WhatGccIsCalled) $(SHELL) configure --enable-shared=no \ --host=`echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'`; \ fi