summaryrefslogtreecommitdiffstats
path: root/toolchain.inc
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2019-06-18 16:38:29 +0200
committerNico Huber <nico.h@gmx.de>2019-06-21 08:44:49 +0000
commit6d7564cdfebfd6bfab34eadc805b3f926acf0518 (patch)
tree0490f1c9a8f5e2f51d70e9c7ee160bcfe1608192 /toolchain.inc
parentc82d7e76d5583c89434a57553fefa6ba8f464c73 (diff)
downloadcoreboot-6d7564cdfebfd6bfab34eadc805b3f926acf0518.tar.gz
coreboot-6d7564cdfebfd6bfab34eadc805b3f926acf0518.tar.bz2
coreboot-6d7564cdfebfd6bfab34eadc805b3f926acf0518.zip
Move -Wlogical-op into xcompile
Clang doesn't know `-Wlogical-op`, so let's move it into xcompile where we can easily distinguish between the two. However, this requires us to split out `GCC_ADAFLAGS*` from `GCC_CFLAGS*`. Change-Id: I6a50de0bc5372f61337f237383d32645ba86b0fd Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33579 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain.inc b/toolchain.inc
index 048628744414..875cb203873a 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -131,7 +131,7 @@ OBJDUMP_$(1) := $(OBJDUMP_$(2))
STRIP_$(1) := $(STRIP_$(2))
READELF_$(1) := $(READELF_$(2))
CFLAGS_$(1) = $$(CFLAGS_common) $$(CFLAGS_$(2))
-ADAFLAGS_$(1) = --RTS=$$(obj)/libgnat-$(2)/ $$(ADAFLAGS_common) $$(GCC_CFLAGS_$(2))
+ADAFLAGS_$(1) = --RTS=$$(obj)/libgnat-$(2)/ $$(ADAFLAGS_common) $$(GCC_ADAFLAGS_$(2))
CPPFLAGS_$(1) = $$(CPPFLAGS_common) $$(CPPFLAGS_$(2)) -D__ARCH_$(2)__
COMPILER_RT_$(1) := $$(COMPILER_RT_$(2))
COMPILER_RT_FLAGS_$(1) := $$(COMPILER_RT_FLAGS_$(2))