From: Julian Seward Date: Mon, 29 Aug 2005 12:11:06 +0000 (+0000) Subject: Pass $(CC) to the vex Makefile. X-Git-Tag: svn/VALGRIND_3_1_0~498 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42b4516a9d01f034448a468693c8b6cdc5fbc505;p=thirdparty%2Fvalgrind.git Pass $(CC) to the vex Makefile. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4559 --- diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am index 6518a918af..ffb447f06c 100644 --- a/coregrind/Makefile.am +++ b/coregrind/Makefile.am @@ -202,13 +202,13 @@ stage2.lds: Makefile || rm -f $@ @VEX_DIR@/libvex.a: @VEX_DIR@/priv/main/vex_svnversion.h - $(MAKE) -C @VEX_DIR@ libvex.a EXTRA_CFLAGS="@ARCH_CORE_AM_CFLAGS@ @PIE_AM_CFLAGS@" + $(MAKE) -C @VEX_DIR@ CC=$(CC) libvex.a EXTRA_CFLAGS="@ARCH_CORE_AM_CFLAGS@ @PIE_AM_CFLAGS@" @VEX_DIR@/priv/main/vex_svnversion.h: $(wildcard @VEX_DIR@/.svn/entries) - $(MAKE) -C @VEX_DIR@ version + $(MAKE) -C @VEX_DIR@ CC=$(CC) version clean-local: - $(MAKE) -C @VEX_DIR@ clean + $(MAKE) -C @VEX_DIR@ CC=$(CC) clean MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) diff --git a/coregrind/m_dispatch/Makefile.am b/coregrind/m_dispatch/Makefile.am index 7a94a72f42..84d5a201b4 100644 --- a/coregrind/m_dispatch/Makefile.am +++ b/coregrind/m_dispatch/Makefile.am @@ -13,4 +13,4 @@ libdispatch_a_SOURCES = \ dispatch-@VG_ARCH@.S: libvex_guest_offsets.h libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=$(CC) pub/libvex_guest_offsets.h diff --git a/coregrind/m_syswrap/Makefile.am b/coregrind/m_syswrap/Makefile.am index bd66013e86..a0e7d2eeec 100644 --- a/coregrind/m_syswrap/Makefile.am +++ b/coregrind/m_syswrap/Makefile.am @@ -26,4 +26,4 @@ syscall-@VG_PLATFORM@.S: libvex_guest_offsets.h syswrap-main.c: libvex_guest_offsets.h libvex_guest_offsets.h: - $(MAKE) -C @VEX_DIR@ pub/libvex_guest_offsets.h + $(MAKE) -C @VEX_DIR@ CC=$(CC) pub/libvex_guest_offsets.h