From: Julian Seward Date: Mon, 11 Jul 2011 22:10:14 +0000 (+0000) Subject: Pass platform-variant tags (-DVGPV_blah_blah_blah) to regtest X-Git-Tag: svn/VALGRIND_3_7_0~363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faa7e66524f6816f9d9173a71c9460888c78196d;p=thirdparty%2Fvalgrind.git Pass platform-variant tags (-DVGPV_blah_blah_blah) to regtest compiles. Also, fix some $(NAME) stuff which looks like it should have been @NAME@ all along. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11874 --- diff --git a/Makefile.tool-tests.am b/Makefile.tool-tests.am index a9d3b91001..79110dfd3e 100644 --- a/Makefile.tool-tests.am +++ b/Makefile.tool-tests.am @@ -5,9 +5,10 @@ include $(top_srcdir)/Makefile.all.am AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ -I$(top_srcdir)/coregrind -I$(top_builddir)/include \ -I$(top_srcdir)/VEX/pub \ - -DVGA_$(VGCONF_ARCH_PRI)=1 \ - -DVGO_$(VGCONF_OS)=1 \ - -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1 + -DVGA_@VGCONF_ARCH_PRI@=1 \ + -DVGO_@VGCONF_OS@=1 \ + -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ + -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 # Nb: Tools need to augment these flags with an arch-selection option, such # as $(AM_FLAG_M3264_PRI). AM_CFLAGS = -Winline -Wall -Wshadow -g