Martin Roth (gaumless@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7249
-gerrit
commit b253f8717fe4fb536a7160353235cc7bd58c8f75 Author: Martin Roth martin.roth@se-eng.com Date: Wed Oct 29 08:24:04 2014 -0600
Pipe stderr to /dev/null when getting LIBCLANG_RT_FILE_NAME
Fix a warning when using gcc: i386-elf-gcc: error: unrecognized command line option '-print-librt-file-name'
Change-Id: I421933ede9ddbddad37544a62e428c79e9ee2c8d Signed-off-by: Martin Roth martin.roth@se-eng.com --- toolchain.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolchain.inc b/toolchain.inc index a572f98..1f95b6b 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -93,7 +93,7 @@ READELF_$(1) := $(READELF_$(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)) -LIBCLANG_RT_FILE_NAME_$(1) = $(shell $(CC_$(2)) $(CFLAGS_$(2)) -print-librt-file-name) +LIBCLANG_RT_FILE_NAME_$(1) = $(shell $(CC_$(2)) $(CFLAGS_$(2)) -print-librt-file-name 2>/dev/null) endef
# define_class: Allows defining any program as dynamic class and compiler tool