Commit cd52ec95 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

configure: remove filter_cppflags



This is not used and the current design would not work properly
if mixing tools needing different filters.
Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 07e3f9af
...@@ -585,7 +585,7 @@ prepend(){ ...@@ -585,7 +585,7 @@ prepend(){
} }
add_cppflags(){ add_cppflags(){
append CPPFLAGS $($filter_cppflags "$@") append CPPFLAGS "$@"
} }
add_cflags(){ add_cflags(){
...@@ -676,7 +676,6 @@ check_code(){ ...@@ -676,7 +676,6 @@ check_code(){
check_cppflags(){ check_cppflags(){
log check_cppflags "$@" log check_cppflags "$@"
set -- $($filter_cppflags "$@")
check_cc "$@" <<EOF && append CPPFLAGS "$@" check_cc "$@" <<EOF && append CPPFLAGS "$@"
int x; int x;
EOF EOF
...@@ -757,7 +756,7 @@ check_cpp_condition(){ ...@@ -757,7 +756,7 @@ check_cpp_condition(){
header=$1 header=$1
condition=$2 condition=$2
shift 2 shift 2
check_cpp $($filter_cppflags "$@") <<EOF check_cpp "$@" <<EOF
#include <$header> #include <$header>
#if !($condition) #if !($condition)
#error "unsatisfied condition: $condition" #error "unsatisfied condition: $condition"
...@@ -1948,7 +1947,6 @@ fi ...@@ -1948,7 +1947,6 @@ fi
filter_asflags=echo filter_asflags=echo
filter_cflags=echo filter_cflags=echo
filter_cppflags=echo
if $cc -v 2>&1 | grep -q '^gcc.*LLVM'; then if $cc -v 2>&1 | grep -q '^gcc.*LLVM'; then
cc_type=llvm_gcc cc_type=llvm_gcc
......
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