From effd1716e50137ad4a3dbb2915b827fa5d75208c Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Thu, 7 Jul 2011 14:05:39 +0000 Subject: [PATCH] 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 --- Makefile.vex.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.2