summaryrefslogtreecommitdiff
path: root/toolchain.inc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-05-25 00:11:35 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-06-29 09:22:13 +0200
commit25b56c3af514faa8a730d56fe14cae4960ac83aa (patch)
tree9b620d3fda23bf26c12075af467c4042b1d0504f /toolchain.inc
parentd638c2b34bae222ad16670c72ad7c9a8841a3ec9 (diff)
downloadcoreboot-25b56c3af514faa8a730d56fe14cae4960ac83aa.tar.xz
build: remove -ccopts mechanism
We now use the slightly more familiar CFLAGS_* and CPPFLAGS_* for the same purpose. Change-Id: Ifd2bd13f67f71fa0a15611a6d11a6a4c7994271b Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/5875 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain.inc b/toolchain.inc
index 2375f17c81..b5b4fe0f41 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -95,8 +95,8 @@ OBJCOPY_$(1) := $(OBJCOPY_$(2))
OBJDUMP_$(1) := $(OBJDUMP_$(2))
STRIP_$(1) := $(STRIP_$(2))
READELF_$(1) := $(READELF_$(2))
-CFLAGS_$(1) = $$(CFLAGS_common) $$(CFLAGS_$(2))
-CPPFLAGS_$(1) = $$(CPPFLAGS_common) $$(CPPFLAGS_$(2))
+CFLAGS_$(1) += $$(CFLAGS_common) $$(CFLAGS_$(2))
+CPPFLAGS_$(1) += $$(CPPFLAGS_common) $$(CPPFLAGS_$(2))
LIBGCC_FILE_NAME_$(1) = $(wildcard $(shell $(CC_$(2)) $(CFLAGS_$(2)) -print-libgcc-file-name))
endef