summaryrefslogtreecommitdiff
path: root/udm/source
diff options
context:
space:
mode:
Diffstat (limited to 'udm/source')
-rw-r--r--udm/source/mkinc/fullcpp.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/udm/source/mkinc/fullcpp.mk b/udm/source/mkinc/fullcpp.mk
index 3452d4bc..5faca9c6 100644
--- a/udm/source/mkinc/fullcpp.mk
+++ b/udm/source/mkinc/fullcpp.mk
@@ -37,7 +37,9 @@
.IF "$(GUI)"=="WNT"
# RTTI
+.IF "$(COM)"=="MSC"
CFLAGS+= -GR
+.ENDIF
.IF "$(NP_LOCALBUILD)"!=""
@@ -54,7 +56,8 @@ CFLAGS+= -YX"precomp.h" /Fp$(PRJ)$/$(INPATH)$/misc$/$(PCH_NAME).pcd -DNP_LOCALBU
.ENDIF
-.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD"
+# Or should we simple check for $(COM)==GCC ?
+.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || "$(OS)$(COM)"=="WNTGCC"
CFLAGSCXX+= -frtti
.ENDIF