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>
This commit is contained in:
Raul E Rangel 2018-07-13 15:16:58 -06:00 committed by Patrick Georgi
parent 8fdc9162d9
commit 50a2a86832
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ READELF := $(READELF_$(ARCH-y))
STRIP := $(STRIP_$(ARCH-y)) STRIP := $(STRIP_$(ARCH-y))
AR := $(AR_$(ARCH-y)) AR := $(AR_$(ARCH-y))
CFLAGS += $(CFLAGS_$(ARCH-y)) CFLAGS += -std=gnu11 $(CFLAGS_$(ARCH-y))
ifneq ($(INNER_SCANBUILD),y) ifneq ($(INNER_SCANBUILD),y)
ifeq ($(CONFIG_LP_COMPILER_LLVM_CLANG),y) ifeq ($(CONFIG_LP_COMPILER_LLVM_CLANG),y)