summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/rts/Makefile b/rts/Makefile
index 2c5dcc4f4b..9ab9652b71 100644
--- a/rts/Makefile
+++ b/rts/Makefile
@@ -127,6 +127,11 @@ endif
# SRC_HC_OPTS += -fPIC
RtsMessages_CC_OPTS += -DProjectVersion=\"$(ProjectVersion)\"
+RtsFlags_CC_OPTS += -DProjectVersion=\"$(ProjectVersion)\"
+RtsFlags_CC_OPTS += -DRtsWay=\"rts$(_way)\"
+RtsFlags_CC_OPTS += -DHostPlatform=\"$(HOSTPLATFORM)\"
+RtsFlags_CC_OPTS += -DBuildPlatform=\"$(BUILDPLATFORM)\"
+RtsFlags_CC_OPTS += -DTargetPlatform=\"$(TARGETPLATFORM)\"
ifeq "$(way)" "mp"
SRC_HC_OPTS += -I$$PVM_ROOT/include