From a13047ca0e965136815a77ee2651d5e7821b59f7 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 27 Jun 2022 11:28:34 +0200 Subject: build: Allow separate optimization flags Allow separate optimization flags for the BSP, cpukit, and tests. For example, the BSP and cpukit may be built without optimization if coverage instrumentation is enabled, however, the tests may still use optimization. Update #4670. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 9894dcd7fd..4071cc9ef8 100755 --- a/wscript +++ b/wscript @@ -625,7 +625,7 @@ class BSPItem(Item): + bld.env.BSP_INCLUDES + self.substitute(bld, self.data["includes"]), self.substitute(bld, self.data["cppflags"]), - self.substitute(bld, self.data["cflags"]), + bld.env.BSP_CFLAGS + self.substitute(bld, self.data["cflags"]), [], [], [], -- cgit v1.2.3