diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-05-28 06:43:59 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-05-29 08:19:09 +0000 |
commit | fbca398293feca0c7d780d3c96a63dea9f9dccdb (patch) | |
tree | f5ebd28e9890fca8cf74d3320bc9809da633fbc1 /util | |
parent | b3db3abd6311924930f3250c9f9fc3157fbbf7da (diff) |
util/superiotool: Use c11 dialect
Change-Id: Ic03d9ac883a92d52467d563f048446871b928712
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82678
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'util')
-rw-r--r-- | util/superiotool/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index fe2a4cce00..39839d9aa6 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -12,7 +12,7 @@ PREFIX ?= /usr/local VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"' CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \ - -Werror-implicit-function-declaration -std=c99 -pedantic $(VERSION) \ + -Werror-implicit-function-declaration -std=c11 -pedantic $(VERSION) \ -Wno-variadic-macros -I $(TOP)/src/commonlib/bsd/include LDFLAGS += -lz @@ -25,7 +25,7 @@ LIBS = -framework IOKit -framework DirectHW -lpci -lz endif ifeq ($(OS_ARCH), FreeBSD) CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \ - -Werror-implicit-function-declaration -std=c99 $(VERSION) \ + -Werror-implicit-function-declaration -std=c11 $(VERSION) \ -I/usr/local/include LDFLAGS += -L/usr/local/lib LIBS = -lz |