[coreboot-gerrit] Change in coreboot[master]: libpayload: Make libpayload compile using gnu11

Raul Rangel (Code Review) gerrit at coreboot.org
Fri Jul 13 23:17:04 CEST 2018


Raul Rangel has uploaded this change for review. ( https://review.coreboot.org/27475


Change subject: libpayload: Make libpayload compile using gnu11
......................................................................

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 at chromium.org>
---
M payloads/libpayload/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/27475/1

diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index 429bf05..1a0acf1 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -147,7 +147,7 @@
 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)

-- 
To view, visit https://review.coreboot.org/27475
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a3baa03e03a31e9e75b201ac4fa642505fc1d3a
Gerrit-Change-Number: 27475
Gerrit-PatchSet: 1
Gerrit-Owner: Raul Rangel <rrangel at chromium.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180713/982995cd/attachment.html>


More information about the coreboot-gerrit mailing list