diff options
-rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -779,14 +779,19 @@ int x; EOF } -check_cflags(){ - log check_cflags "$@" +test_cflags(){ + log test_cflags "$@" set -- $($cflags_filter "$@") - check_cc "$@" <<EOF && append CFLAGS "$@" + check_cc "$@" <<EOF int x; EOF } +check_cflags(){ + log check_cflags "$@" + test_cflags "$@" && add_cflags "$@" +} + test_ldflags(){ log test_ldflags "$@" check_ld "$@" <<EOF |