diff --git a/configure b/configure index e2d6523d64..5a914fbdec 100755 --- a/configure +++ b/configure @@ -1477,6 +1477,10 @@ EOF die "Sanity test failed." fi +filter_cflags=echo +filter_cppflags=echo +filter_asflags=echo + if $cc --version 2>/dev/null | grep -qi gcc; then cc_type=gcc elif $cc --version 2>/dev/null | grep -q Intel; then @@ -1508,10 +1512,6 @@ test -n "$cc_type" && enable $cc_type || echolog "Unknown C compiler $cc" : ${ld_default:=$cc} set_default as dep_cc ld -: ${filter_cflags:=echo} -: ${filter_cppflags:=echo} -: ${filter_asflags:=echo} - add_cflags $extra_cflags add_asflags $extra_cflags