diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-17 23:48:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-17 23:48:45 +0300 |
commit | 49c7438bdf3c896ffd474cacbb9e588690ea2da6 (patch) | |
tree | 713803f179fcfeef17babbcda9b1ca0753a7682c /udm/source/mkinc/fullcpp.mk | |
parent | 33f5edc31b9c8ed7203465186aa2bdefd62ba2a4 (diff) |
Fix build with MinGW
Diffstat (limited to 'udm/source/mkinc/fullcpp.mk')
-rw-r--r-- | udm/source/mkinc/fullcpp.mk | 5 |
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 |