From: Florian Krohm Date: Sun, 22 Apr 2012 19:25:39 +0000 (+0000) Subject: Fix makefile to allow compilation with gcc -g3. X-Git-Tag: svn/VALGRIND_3_8_1^2~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c7e60dfcc667bd51a950f997d37f9168bf02dab;p=thirdparty%2Fvalgrind.git Fix makefile to allow compilation with gcc -g3. Part of fixing bugzilla #297993. Patch by Daniel Richard G. (skunk@iskunk.org). git-svn-id: svn://svn.valgrind.org/vex/trunk@2310 --- diff --git a/VEX/Makefile-gcc b/VEX/Makefile-gcc index 76f7230478..43d0caf2fc 100644 --- a/VEX/Makefile-gcc +++ b/VEX/Makefile-gcc @@ -199,7 +199,7 @@ pub/libvex_guest_offsets.h: rm -f auxprogs/genoffsets.s $(CC) $(CCFLAGS) -O -S -o auxprogs/genoffsets.s \ auxprogs/genoffsets.c - grep xyzzy auxprogs/genoffsets.s | grep define \ + grep xyzzy auxprogs/genoffsets.s | grep "^#define" \ | sed "s/xyzzy\\$$//g" \ | sed "s/xyzzy#//g" \ | sed "s/xyzzy//g" \