Commit 0c45cd07 authored by Diego Pettenò's avatar Diego Pettenò Committed by Diego Biurrun

Stop Sun Studio from issuing a warning during configure when passed

the --version option.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 15532 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b1cb73aa
......@@ -1883,7 +1883,7 @@ check_cflags -fno-math-errno
check_cflags -fno-signed-zeros
# add some flags for Intel C Compiler
if $cc --version | grep -q Intel; then
if $cc --version 2> /dev/null | grep -q Intel; then
# Just warnings, no remarks
check_cflags -w1
# -wd: Disable following warnings
......
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