From a68bf990866ee8cf5435bdcbbf80e88ff2f59692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Tue, 27 Aug 2019 17:05:37 +0200 Subject: [PATCH] makefiles/vars.inc.mk: export CFLAGS_CPU CFLAGS_CPU is required for 'pkg/openthread'. So declare it as a global compilation variable. The goal is to move the export to `makefiles/vars.inc.mk` and remove the local exports that could be in boards/cpu/arch. --- makefiles/vars.inc.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/makefiles/vars.inc.mk b/makefiles/vars.inc.mk index e27e5797fc..cbec3d58dc 100644 --- a/makefiles/vars.inc.mk +++ b/makefiles/vars.inc.mk @@ -47,6 +47,7 @@ export CC # The C compiler to use. export CXX # The CXX compiler to use. export CCAS # The C compiler to use for assembler files, typically the same as CC. export CFLAGS # The compiler flags. Must only ever be used with `+=`. +export CFLAGS_CPU # CPU architecture specific compiler flags export CXXUWFLAGS # (Patterns of) flags in CFLAGS that should not be passed to CXX. export CXXEXFLAGS # Additional flags that should be passed to CXX. export CCASUWFLAGS # (Patterns of) flags in CFLAGS that should not be passed to CCAS.