diff options
author | Mark Corbin <mark.corbin@embecosm.com> | 2018-09-12 11:22:53 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-09-23 22:17:57 +0200 |
commit | bd0640a2139119e2fdb4b384ebf32d1edcb0fdaa (patch) | |
tree | fa749570d2cab3be1ac74bcc9b35a534846a6821 /package/valgrind/valgrind.mk | |
parent | 1eca624c03e5e1f815e0e62cbfc3b99f3cd628b3 (diff) | |
download | buildroot-bd0640a2139119e2fdb4b384ebf32d1edcb0fdaa.tar.gz buildroot-bd0640a2139119e2fdb4b384ebf32d1edcb0fdaa.zip |
arch: allow GCC target options to be optionally overwritten
The BR2_GCC_TARGET_* configuration variables are copied to
corresponding GCC_TARGET_* variables which may then be optionally
modified or overwritten by architecture specific makefiles.
All makefiles must use the new GCC_TARGET_* variables instead
of the BR2_GCC_TARGET_* versions.
Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: simplify include of arch/arch.mk]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/valgrind/valgrind.mk')
-rw-r--r-- | package/valgrind/valgrind.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 11dec607dd..b1ab7e72fc 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -31,7 +31,7 @@ VALGRIND_CFLAGS = \ # and pass the right -march option, so they take precedence over # Valgrind's wrongfully detected value. ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) -VALGRIND_CFLAGS += -march=$(BR2_GCC_TARGET_ARCH) +VALGRIND_CFLAGS += -march="$(GCC_TARGET_ARCH)" endif VALGRIND_CONF_ENV = CFLAGS="$(VALGRIND_CFLAGS)" |