From cd52ec95bb2bf4c5dd9787451800e5dbe0a4b949 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 20 Jul 2012 12:02:29 +0100 Subject: 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: Mans Rullgard --- configure | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 9e65bc4645..5e0865568c 100755 --- a/configure +++ b/configure @@ -585,7 +585,7 @@ prepend(){ } add_cppflags(){ - append CPPFLAGS $($filter_cppflags "$@") + append CPPFLAGS "$@" } add_cflags(){ @@ -676,7 +676,6 @@ check_code(){ check_cppflags(){ log check_cppflags "$@" - set -- $($filter_cppflags "$@") check_cc "$@" < #if !($condition) #error "unsatisfied condition: $condition" @@ -1948,7 +1947,6 @@ fi filter_asflags=echo filter_cflags=echo -filter_cppflags=echo if $cc -v 2>&1 | grep -q '^gcc.*LLVM'; then cc_type=llvm_gcc -- cgit v1.2.3