Re-establich configury checking for -Wno-pointer-sign. We need that
flag to compile pref/tinycc.c. Sigh.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13126 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/perf/Makefile.am b/perf/Makefile.am
index d6e588b..5a12378 100644
--- a/perf/Makefile.am
+++ b/perf/Makefile.am
@@ -30,4 +30,7 @@
fbench_CFLAGS = $(AM_CFLAGS) -O2
ffbench_LDADD = -lm
-tinycc_CFLAGS = $(AM_CFLAGS) -Wno-shadow -Wno-inline -Wno-pointer-sign
+tinycc_CFLAGS = $(AM_CFLAGS) -Wno-shadow -Wno-inline
+if HAS_POINTER_SIGN_WARNING
+tinycc_CFLAGS += -Wno-pointer-sign
+endif