valgrind/valgrind-3.7.0-x86_64-fix-gcc-detection.patch

25 lines
1.1 KiB
Diff
Raw Permalink Normal View History

diff -Nru valgrind-3.7.0.orig/configure valgrind-3.7.0/configure
--- valgrind-3.7.0.orig/configure 2012-04-24 11:36:16.140356302 +0000
+++ valgrind-3.7.0/configure 2012-04-24 11:39:35.086185118 +0000
@@ -5133,8 +5133,9 @@
| head -n 1 \
| $SED 's/i686-apple-darwin10//' \
| $SED 's/i686-apple-darwin11//' \
+ | $SED 's/x86_64-openmamba-linux-gnu-gcc//' \
| $SED 's/^[^0-9]*\([0-9.]*\).*$/\1/'`
is_clang="notclang"
if test "x`${CC} --version | head -n 1 | $SED 's/\(clang\) version.*/\1/'`" = "xclang" ; then
is_clang="clang"
diff -Nru valgrind-3.7.0.orig/configure.in valgrind-3.7.0/configure.in
--- valgrind-3.7.0.orig/configure.in 2011-11-05 11:13:30.000000000 +0000
+++ valgrind-3.7.0/configure.in 2012-04-24 11:39:55.894955837 +0000
@@ -109,6 +109,7 @@
| head -n 1 \
| $SED 's/i686-apple-darwin10//' \
| $SED 's/i686-apple-darwin11//' \
+ | $SED 's/x86_64-openmamba-linux-gnu-gcc//' \
| $SED 's/^[^0-9]*\([0-9.]*\).*$/\1/'`]
is_clang="notclang"