]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix makefile to allow compilation with gcc -g3.
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 22 Apr 2012 19:25:39 +0000 (19:25 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 22 Apr 2012 19:25:39 +0000 (19:25 +0000)
Part of fixing bugzilla #297993.
Patch by  Daniel Richard G. (skunk@iskunk.org).

git-svn-id: svn://svn.valgrind.org/vex/trunk@2310

VEX/Makefile-gcc

index 76f723047813732c6582a066a927a774b824f1bb..43d0caf2fcb04ce74d4c1f4a0a309c2bee686273 100644 (file)
@@ -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" \