aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-05-11 13:08:18 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2008-05-11 13:08:18 +0000
commit504a64b95db88247cff8d66999f82d536281f306 (patch)
tree2fbe0a75f271125b3da337c45c12f712a9a210db
parentce9eac7913dea1e6261c2fd99529fbbe32c2a7f0 (diff)
downloadffmpeg-504a64b95db88247cff8d66999f82d536281f306.tar.gz
Silence useless icc warnings.
Originally committed as revision 13118 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure b/configure
index f76f03cdd4..6403f94a26 100755
--- a/configure
+++ b/configure
@@ -1815,6 +1815,20 @@ fi
check_cflags -fno-math-errno
check_cflags -fno-signed-zeros
+# add some flags for Intel C Compiler
+if $cc --version | grep -q Intel; then
+ # Just warnings, no remarks
+ check_cflags -w1
+ # -wd: Disable following warnings
+ # 144, 167, 556: -Wno-pointer-sign
+ # 10006: ignoring unknown option -fno-signed-zeros
+ # 10156: ignoring option '-W'; no argument required
+ check_cflags -wd144,167,556,10006,10156
+ # 11030: Warning unknown option --as-needed
+ # 10156: ignoring option '-export'; no argument required
+ check_ldflags -wd10156,11030
+fi
+
# PIC flags for shared library objects where they are needed
if enabled shared; then
# LIBOBJFLAGS may have already been set in the OS configuration