From: Joel Rosdahl Date: Sun, 22 Aug 2010 15:26:04 +0000 (+0200) Subject: Also check if the -fpch-preprocess option is supported for pch tests X-Git-Tag: v3.1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc3c73642d7d444c033161e17378be4f91bfcb0;p=thirdparty%2Fccache.git Also check if the -fpch-preprocess option is supported for pch tests --- diff --git a/test.sh b/test.sh index da45e6e72..68879f200 100755 --- a/test.sh +++ b/test.sh @@ -1604,7 +1604,7 @@ EOF cat <pch.h #include EOF - if $COMPILER pch.h 2>/dev/null; then + if $COMPILER -fpch-preprocess pch.h 2>/dev/null; then : else return