Commit de7fa7d3 authored by cehoyos's avatar cehoyos

Silence useless icc warnings.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13118 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a5c9cfbe
...@@ -1815,6 +1815,20 @@ fi ...@@ -1815,6 +1815,20 @@ fi
check_cflags -fno-math-errno check_cflags -fno-math-errno
check_cflags -fno-signed-zeros 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 # PIC flags for shared library objects where they are needed
if enabled shared; then if enabled shared; then
# LIBOBJFLAGS may have already been set in the OS configuration # LIBOBJFLAGS may have already been set in the OS configuration
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment