From ff379c439cca41cda450554d26cd80147a5e92ae Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Fri, 10 Feb 2006 12:42:11 +0000 Subject: [PATCH] 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 --- helgrind/tests/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.47.2