From: Julian Seward Date: Thu, 7 Jul 2011 14:05:39 +0000 (+0000) Subject: Pipe CFLAGS through to the compile run for genoffsets.c, which is a X-Git-Tag: svn/VALGRIND_3_7_0~376 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=effd1716e50137ad4a3dbb2915b827fa5d75208c;p=thirdparty%2Fvalgrind.git Pipe CFLAGS through to the compile run for genoffsets.c, which is a bit special. CFLAGS is already piped through to everywhere else. This is needed for working with semi-broken cross-compile setups that need CFLAGS set to special values in order to work. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11861 --- diff --git a/Makefile.vex.am b/Makefile.vex.am index 3fa6190038..ed9d809056 100644 --- a/Makefile.vex.am +++ b/Makefile.vex.am @@ -66,7 +66,8 @@ pub/libvex_guest_offsets.h: auxprogs/genoffsets.c \ pub/libvex_guest_arm.h \ pub/libvex_guest_s390x.h rm -f auxprogs/genoffsets.s - $(CC) $(LIBVEX_CFLAGS) \ + $(CC) $(CFLAGS) \ + $(LIBVEX_CFLAGS) \ $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) \ -O -S -o auxprogs/genoffsets.s \ auxprogs/genoffsets.c