[coreboot-gerrit] New patch to review for coreboot: 46427b8 Makefile: Test clang -std=c11 compat to be ready for LLVM3.7

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Thu Jan 15 17:38:03 CET 2015


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8231

-gerrit

commit 46427b80079ed4f909c18d163fb1bf2fae2a97a3
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Fri Jan 16 03:37:21 2015 +1100

    Makefile: Test clang -std=c11 compat to be ready for LLVM3.7
    
    Change-Id: Ic08c65fc9bc0b5daef6c6561ff72f941db73c3db
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 8fdd5d3..3b6dcd6 100644
--- a/Makefile
+++ b/Makefile
@@ -118,6 +118,8 @@ ifeq ($(CONFIG_COMPILER_LLVM_CLANG),y)
 # NOTE: clang puts compiler-rt under lib/linux/libclang_rt.builtins-i386.a
 # this means the triple is i386-linux-elf instead of i386-none-elf
 CFLAGS_x86_32 = -no-integrated-as -Qunused-arguments -target i386-linux-elf -m32
+# Test C11 compat for LLVM 3.7
+CFLAGS_x86_32 += -std=c11
 # Tone down some clang warnings
 CFLAGS_x86_32 += -Wno-unused-function -Wno-tautological-compare -Wno-shift-overflow
 CC_x86_32:=clang



More information about the coreboot-gerrit mailing list