configure: icl: Merge -Qdiag-error parameters
authorAlex Smith <alex.smith@warpsharp.info>
Thu, 30 May 2013 20:11:21 +0000 (20:11 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 31 May 2013 18:39:30 +0000 (14:39 -0400)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
configure

index 897e1ed..73f4cd8 100755 (executable)
--- a/configure
+++ b/configure
@@ -2619,7 +2619,7 @@ probe_cc(){
         _ld_lib='lib%.a'
         _ld_path='-libpath:'
         # -Qdiag-error to make icl error when presented with certain unknown arguments
         _ld_lib='lib%.a'
         _ld_path='-libpath:'
         # -Qdiag-error to make icl error when presented with certain unknown arguments
-        _flags='-nologo -Qdiag-error:10157 -Qdiag-error:4044'
+        _flags='-nologo -Qdiag-error:4044,10157'
         # -Qvec- -Qsimd- to prevent miscompilation, -GS for consistency with msvc which enables it by default
         _cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -Qms0 -Qvec- -Qsimd- -GS'
         if [ $pfx = hostcc ]; then
         # -Qvec- -Qsimd- to prevent miscompilation, -GS for consistency with msvc which enables it by default
         _cflags='-D_USE_MATH_DEFINES -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -Qms0 -Qvec- -Qsimd- -GS'
         if [ $pfx = hostcc ]; then