summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-11-02 11:42:26 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-11-02 11:42:26 +0100
commit9dc9b7e682fc6435ae02fa7713a15c53693262bb (patch)
tree206770b95e45917999b27e7ed4b38fb042095dc3 /configure
parent85a5cdb4fa74193a72585881b255c07528f8f217 (diff)
parent567ca142952c5be57e52c149c815dfe5d6ac6d41 (diff)
Merge commit '567ca142952c5be57e52c149c815dfe5d6ac6d41'
* commit '567ca142952c5be57e52c149c815dfe5d6ac6d41': configure: Add -D_CRT_NONSTDC_NO_WARNINGS when building with msvc Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 95790f4a63..719244ef53 100755
--- a/configure
+++ b/configure
@@ -3775,7 +3775,7 @@ probe_cc(){
_ld_lib='lib%.a'
_ld_path='-libpath:'
_flags='-nologo'
- _cflags='-D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS'
+ _cflags='-D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS'
disable stripping
elif $_cc --version 2>/dev/null | grep -q ^cparser; then
_type=cparser