summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2018-07-13 15:16:58 -0600
committerPatrick Georgi <pgeorgi@google.com>2018-07-16 07:44:03 +0000
commit50a2a868324538563e91813d6cf263f8b7da538b (patch)
treed19abdef3b7a2a08d4d14d7e1c14414081be5104 /payloads
parent8fdc9162d92eeacc3a7fe376933c3ccd9ba97fd6 (diff)
downloadcoreboot-50a2a868324538563e91813d6cf263f8b7da538b.tar.xz
libpayload: Make libpayload compile using gnu11
This matches coreboot. BUG=b:76831439 TEST=emerge-grunt libpayload deptcharge chromeos-bootimage then booted image Change-Id: I3a3baa03e03a31e9e75b201ac4fa642505fc1d3a Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/27475 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index 429bf05021..1a0acf1781 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -147,7 +147,7 @@ READELF := $(READELF_$(ARCH-y))
STRIP := $(STRIP_$(ARCH-y))
AR := $(AR_$(ARCH-y))
-CFLAGS += $(CFLAGS_$(ARCH-y))
+CFLAGS += -std=gnu11 $(CFLAGS_$(ARCH-y))
ifneq ($(INNER_SCANBUILD),y)
ifeq ($(CONFIG_LP_COMPILER_LLVM_CLANG),y)