diff options
Diffstat (limited to 'odk/settings/settings.mk')
-rw-r--r-- | odk/settings/settings.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/odk/settings/settings.mk b/odk/settings/settings.mk index 786367ddd468..535fcd633c34 100644 --- a/odk/settings/settings.mk +++ b/odk/settings/settings.mk @@ -77,7 +77,14 @@ EMPTYSTRING= PATH_SEPARATOR=; # use this for release version -CC_FLAGS=-c -GX -MT -Zm500 -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800 -Zc:forScope -GR +CC_FLAGS=-c -MT -Zm500 -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800 -Zc:forScope -GR +ifeq "$(CPP_VC8)" "true" +CC_FLAGS+=-EHa -Zc:wchar_t- +LINK_MANIFEST_VC8_ONLY=mt -manifest $@.manifest -outputresource:$@;2 +else +CC_FLAGS+=-GX +LINK_MANIFEST_VC8_ONLY= +endif ifeq "$(DEBUG)" "yes" CC_FLAGS+=-Zi endif |