forked from Telodendria/Telodendria
Add -Wextra and -ansi just to get more errors/warnings.
This commit is contained in:
parent
bc849819d9
commit
c888fd2ba2
1 changed files with 1 additions and 1 deletions
2
make.sh
2
make.sh
|
@ -15,7 +15,7 @@
|
||||||
: "${INCLUDES:=-Isrc/include}"
|
: "${INCLUDES:=-Isrc/include}"
|
||||||
|
|
||||||
: "${CC:=cc}"
|
: "${CC:=cc}"
|
||||||
: "${CFLAGS:=-Wall -Werror -pedantic -std=c89 -O3 $HEADERS $INCLUDES}"
|
: "${CFLAGS:=-Wall -Werror -Wextra -pedantic -ansi -std=c89 -O3 $HEADERS $INCLUDES}"
|
||||||
: "${LDFLAGS:=-static -flto -fdata-sections -ffunction-sections -s -Wl,-static -Wl,-gc-sections}"
|
: "${LDFLAGS:=-static -flto -fdata-sections -ffunction-sections -s -Wl,-static -Wl,-gc-sections}"
|
||||||
: "${PROG:=telodendria}"
|
: "${PROG:=telodendria}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue