[FFmpeg-devel] [PATCH] configure: force -nologo- when detecting Intel compilers
Michael Niedermayer
michaelni at gmx.at
Fri Jul 24 11:22:12 CEST 2015
From: Michael Niedermayer <michael at niedermayer.cc>
The -nologo- option is the inverse of -nologo, reenabling printing the
"logo" version header. This is useful if the compiler actually is a
wrapper that forces -nologo.
Based-on: a54e720e0289433d6bc3f7ba0a37fa5cabfaeea9 by Steve Lhomme
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 7b8815f..f9be916 100755
--- a/configure
+++ b/configure
@@ -3626,7 +3626,7 @@ probe_cc(){
# 4509: "This form of conditional instruction is deprecated"
_flags="-nologo -ignore 4509"
_flags_filter=armasm_flags
- elif $_cc 2>&1 | grep -q Intel; then
+ elif $_cc -nologo- 2>&1 | grep -q Intel; then
_type=icl
_ident=$($_cc 2>&1 | head -n1)
_depflags='-QMMD -QMF$(@:.o=.d) -QMT$@'
@@ -3634,7 +3634,7 @@ probe_cc(){
# versions (tested) as well.
_cflags_speed="-O2"
_cflags_size="-O1 -Oi" # -O1 without -Oi miscompiles stuff
- if $_cc 2>&1 | grep -q Linker; then
+ if $_cc -nologo- 2>&1 | grep -q Linker; then
_ld_o='-out:$@'
else
_ld_o='-Fe$@'
--
1.7.9.5
More information about the ffmpeg-devel
mailing list