From 23157d72b565e0228fec97f1eb059d4f8021a260 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 31 Oct 2013 19:48:59 +0100 Subject: [PATCH] configure: Split test_cflags function off from check_cflags This is useful to test flags without directly adding them to CFLAGS. --- configure | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configure b/configure index f72db76313..549e04cdf2 100755 --- a/configure +++ b/configure @@ -779,14 +779,19 @@ int x; EOF } -check_cflags(){ - log check_cflags "$@" +test_cflags(){ + log test_cflags "$@" set -- $($cflags_filter "$@") - check_cc "$@" <