mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 19:23:24 +02:00
lbutils makefile: use c99 in strict mode
not c90 i use stdint now on a few files. i had this idea in my head to use C89 for some reason, but this is pointless. c99 however is worthy as a minimum, because for example, compilers like tcc will adhere to its spec (for the most part), so this is the minimum reasonable requirement on modern unix systems. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -20,7 +20,7 @@ LDIR =
|
|||||||
|
|
||||||
PORTABLE = $(LDIR) $(CFLAGS)
|
PORTABLE = $(LDIR) $(CFLAGS)
|
||||||
WARN = $(PORTABLE) -Wall -Wextra
|
WARN = $(PORTABLE) -Wall -Wextra
|
||||||
STRICT = $(WARN) -std=c90 -pedantic -Werror
|
STRICT = $(WARN) -std=c99 -pedantic -Werror
|
||||||
HELLFLAGS = $(STRICT) -Weverything
|
HELLFLAGS = $(STRICT) -Weverything
|
||||||
|
|
||||||
PROG = nvmutil
|
PROG = nvmutil
|
||||||
|
|||||||
Reference in New Issue
Block a user