]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Pipe CFLAGS through to the compile run for genoffsets.c, which is a
authorJulian Seward <jseward@acm.org>
Thu, 7 Jul 2011 14:05:39 +0000 (14:05 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 7 Jul 2011 14:05:39 +0000 (14:05 +0000)
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

index 3fa619003850ee4ecac52885c3c40ac69dff5dd4..ed9d8090567cc18842e5a8e9a0f9bb5136907a59 100644 (file)
@@ -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