summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index fe6cd946c4..7afeebebcd 100755
--- a/configure
+++ b/configure
@@ -5984,7 +5984,7 @@ for restrict_keyword in restrict __restrict__ __restrict ""; do
test_code cc "" "char * $restrict_keyword p" && break
done
-check_cc pragma_deprecated "" '_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")'
+check_cc pragma_deprecated "" '_Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")'
# The global variable ensures the bits appear unchanged in the object file.
test_cc <<EOF || die "endian test failed"