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 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/Makefile-gcc b/Makefile-gcc
index 76f7230..43d0caf 100644
--- a/Makefile-gcc
+++ b/Makefile-gcc
@@ -199,7 +199,7 @@
 	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" \