summaryrefslogtreecommitdiff
path: root/includes/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2006-08-25 00:39:45 +0000
committerIan Lynagh <igloo@earth.li>2006-08-25 00:39:45 +0000
commitedad06244b0a542d6b5c9ce3f3cd72941c5be804 (patch)
treed1c5f6eadfc02bfdd5fd8876edf20e3eb9aa7b95 /includes/Makefile
parent5431ce37fb3e91a834106096791e8f660bdab296 (diff)
downloadhaskell-edad06244b0a542d6b5c9ce3f3cd72941c5be804.tar.gz
Fix unregisterised builds, and building on non-x86/amd64/powerpc
Diffstat (limited to 'includes/Makefile')
-rw-r--r--includes/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/Makefile b/includes/Makefile
index 83b74d49a7..a181c23323 100644
--- a/includes/Makefile
+++ b/includes/Makefile
@@ -17,6 +17,10 @@ endif
SRC_CC_OPTS += -I. -I../rts
+ifneq "$(GhcWithSMP)" "YES"
+SRC_CC_OPTS += -DNOSMP
+endif
+
#
# Header file built from the configure script's findings
#