]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: remove use of -vec-report0 from CFLAGS with icc
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Apr 2020 15:07:38 +0000 (17:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Apr 2020 21:19:06 +0000 (23:19 +0200)
... as it apparently isn't (always) supported.
Reported-by: Alain Miniussi
Fixes #5096
Closes #5191

m4/curl-compilers.m4

index 196b285be828aa2069cc015b0196236032c9a6fd..e732a8722b6181ca8f60e17518559616c3871c58 100644 (file)
@@ -1164,11 +1164,6 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
         tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
         dnl Value-safe optimizations on floating-point data
         tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
-        dnl Only icc 10.0 or later
-        if test "$compiler_num" -ge "1000"; then
-          dnl Disable vectorizer diagnostic information
-          tmp_CFLAGS="$tmp_CFLAGS -vec-report0"
-        fi
         ;;
         #
       INTEL_WINDOWS_C)