forked from Telodendria/Telodendria
Fix a bug when overriding CFLAGS with .env
This commit is contained in:
parent
b155d0dbe4
commit
dce9788adf
1 changed files with 2 additions and 2 deletions
|
@ -30,10 +30,10 @@
|
|||
: "${LDFLAGS:=-lm -pthread -static -flto -fdata-sections -ffunction-sections -s -Wl,-static -Wl,-gc-sections}"
|
||||
: "${PROG:=telodendria}"
|
||||
|
||||
CFLAGS="${CFLAGS} ${DEFINES} ${INCLUDES}"
|
||||
|
||||
. "$(pwd)/tools/lib/common.sh"
|
||||
|
||||
CFLAGS="${CFLAGS} ${DEFINES} ${INCLUDES}"
|
||||
|
||||
if [ "$DEBUG" = "1" ]; then
|
||||
CFLAGS="$CFLAGS -O0 -g"
|
||||
LDFLAGS="-lm -pthread -v"
|
||||
|
|
Loading…
Reference in a new issue