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
This commit is contained in:
Julian Seward 2006-02-10 12:42:11 +00:00
parent aafec91eed
commit ff379c439c

View File

@ -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