summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-07 11:13:36 +0100
committerMans Rullgard <mans@mansr.com>2012-09-08 15:09:13 +0100
commit6a0200f24de51eeb94a3a1f75ee105786a6e088d (patch)
treedaf9ad88fe58d8f606df0d47437a37167c1b536c /configure
parentfb4e983e0ce1f00c57f987d878ce10c43a62b763 (diff)
configure: msvc: fix/simplify setting of flags for hostcc
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1fe505c3f3..ae8e76590a 100755
--- a/configure
+++ b/configure
@@ -2324,7 +2324,7 @@ probe_cc(){
_flags='-nologo'
_cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64'
if [ $pfx = hostcc ]; then
- _cflags="$cflags -Dsnprintf=_snprintf"
+ append _cflags -Dsnprintf=_snprintf
fi
disable aligned_stack
fi