mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Drop C standard for tools/ to C11
Nothing has changed in c17 beyond minor standards corrections, so there's no advantage in specifying c17 over c11.
This commit is contained in:
parent
960642ce73
commit
7d40476e14
@ -1,7 +1,7 @@
|
||||
.PHONY: all clean
|
||||
|
||||
CC := gcc
|
||||
CFLAGS := -O3 -std=c17 -Wall -Wextra -pedantic -Wno-missing-field-initializers
|
||||
CFLAGS := -O3 -std=c11 -Wall -Wextra -pedantic -Wno-missing-field-initializers
|
||||
|
||||
tools := \
|
||||
lzcomp \
|
||||
@ -19,7 +19,7 @@ clean:
|
||||
|
||||
gfx: common.h
|
||||
|
||||
lzcomp: CFLAGS = -O3 -flto -std=c17 -Wall -Wextra -pedantic -Wno-strict-overflow -Wno-sign-compare
|
||||
lzcomp: CFLAGS = -O3 -flto -std=c11 -Wall -Wextra -pedantic -Wno-strict-overflow -Wno-sign-compare
|
||||
lzcomp: $(wildcard lz/*.c) $(wildcard lz/*.h)
|
||||
$(CC) $(CFLAGS) -o $@ lz/*.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user