Use -pipe, supposedly this speeds things up.

The codebase is getting kind of big, we'll need all the help we can get.
This commit is contained in:
Jordan Bancino 2023-03-01 01:26:34 +00:00
parent 334a711b02
commit 2e1220621c

View file

@ -25,7 +25,7 @@
: "${DEFINES:=-D_DEFAULT_SOURCE -DTELODENDRIA_VERSION=\"$TELODENDRIA_VERSION\"}" : "${DEFINES:=-D_DEFAULT_SOURCE -DTELODENDRIA_VERSION=\"$TELODENDRIA_VERSION\"}"
: "${CC:=cc}" : "${CC:=cc}"
: "${CFLAGS:=-Wall -Wextra -pedantic -ansi -O3}" : "${CFLAGS:=-Wall -Wextra -pedantic -ansi -O3 -pipe}"
: "${STATIC:=-static -Wl,-static}" : "${STATIC:=-static -Wl,-static}"
: "${LDFLAGS:=-lm -pthread -flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections}" : "${LDFLAGS:=-lm -pthread -flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections}"
: "${PROG:=telodendria}" : "${PROG:=telodendria}"