From: Julian Seward Date: Fri, 10 Feb 2006 12:42:11 +0000 (+0000) Subject: Don't use -gstabs on ppc64-linux, as it doesn't work with some gccs (Dave Nomura). X-Git-Tag: svn/VALGRIND_3_2_0~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff379c439cca41cda450554d26cd80147a5e92ae;p=thirdparty%2Fvalgrind.git Don't use -gstabs on ppc64-linux, as it doesn't work with some gccs (Dave Nomura). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5628 --- diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am index 23d676202e..1785953e31 100644 --- a/helgrind/tests/Makefile.am +++ b/helgrind/tests/Makefile.am @@ -17,5 +17,12 @@ check_PROGRAMS = \ allok deadlock inherit race race2 readshared # force -gstabs, because we don't print symaddr for DWARF yet +# Sigh, gcc-3.4.3 on ppc64 generates bogus .stabs. So disable it +# for now on ppc64-linux. +if VG_PPC64_LINUX +AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) +else AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -gstabs $(AM_FLAG_M3264_PRI) +endif + LDADD = -lpthread