diff options
Diffstat (limited to 'mps/code/commpre.nmk')
| -rw-r--r-- | mps/code/commpre.nmk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mps/code/commpre.nmk b/mps/code/commpre.nmk index 7e6cf8abc3e..c10da3de76d 100644 --- a/mps/code/commpre.nmk +++ b/mps/code/commpre.nmk | |||
| @@ -129,8 +129,14 @@ CFLAGSCOMMONPOST = $(CFLAGSTARGETPOST) | |||
| 129 | 129 | ||
| 130 | # Flags for use in the variety combinations | 130 | # Flags for use in the variety combinations |
| 131 | CFLAGSHOT = /Ox /DNDEBUG | 131 | CFLAGSHOT = /Ox /DNDEBUG |
| 132 | # We used to have /GZ here (stack probe). | ||
| 132 | # Note that GZ is specific to version 12 of the cl tool. drj 2003-11-04 | 133 | # Note that GZ is specific to version 12 of the cl tool. drj 2003-11-04 |
| 133 | CFLAGSCOOL = /Od /GZ | 134 | # It is ignored on earlier versions of the cl tool. |
| 135 | # /GZ here generates a dependency on the C library and when we are | ||
| 136 | # building a DLL, mpsdy.dll, the linker step will fail (error LNK2001: | ||
| 137 | # unresolved external symbol __chkesp). See | ||
| 138 | # http://support.microsoft.com/kb/q191669/ | ||
| 139 | CFLAGSCOOL = /Od | ||
| 134 | CFLAGSINTERNAL = /Zi | 140 | CFLAGSINTERNAL = /Zi |
| 135 | CFLAGSEXTERNAL = | 141 | CFLAGSEXTERNAL = |
| 136 | 142 | ||