Pass CC and AR to vex's Makefile here too.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6475 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
index 850b6a5..42f6c05 100644
--- a/coregrind/Makefile.am
+++ b/coregrind/Makefile.am
@@ -340,7 +340,7 @@
 m_syswrap/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)" AR="$(AR)" pub/libvex_guest_offsets.h
 
 VGPRELOAD_CORE_SOURCES_COMMON = vg_preloaded.c