diff options
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 6992487b..fd972b49 100644 --- a/configure.in +++ b/configure.in @@ -284,7 +284,10 @@ if test "x$GCC" = "xyes"; then esac case " $CFLAGS " in *[\ \ ]-Wno-pointer-sign[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wno-pointer-sign" ;; + *) if cc_supports_flag -Wno-pointer-sign; then + CFLAGS="$CFLAGS -Wno-pointer-sign" + fi + ;; esac # http://bugs.freedesktop.org/show_bug.cgi?id=19195 |