toolchain: allow architectures to enforce compilation flags
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 18 Jul 2019 20:52:48 +0000 (22:52 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 18 Jul 2019 20:54:28 +0000 (22:54 +0200)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/toolchain-wrapper.mk

index ca66fa7ba40ba871a0a2ccda164074aa0b0cdc2c..8f872506ec689f2f9bb6fc831866c82a6cba2ce5 100644 (file)
@@ -17,6 +17,7 @@ TOOLCHAIN_WRAPPER_ARGS = $($(PKG)_TOOLCHAIN_WRAPPER_ARGS)
 TOOLCHAIN_WRAPPER_ARGS += -DBR_SYSROOT='"$(STAGING_SUBDIR)"'
 
 TOOLCHAIN_WRAPPER_OPTS = \
+       $(ARCH_TOOLCHAIN_WRAPPER_OPTS) \
        $(call qstrip,$(BR2_SSP_OPTION)) \
        $(call qstrip,$(BR2_TARGET_OPTIMIZATION))