diff options
author | Omar Polo <op@omarpolo.com> | 2021-07-07 09:19:24 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-07 09:19:24 +0000 |
commit | 68ef1170922d8c457b529dd7f64dc207a3c8b5a3 (patch) | |
tree | 068f8fa4b150716f07296b63a600a8ce96f8025f /configure | |
parent | 8a50fc0330f50c1c0c5fc0b541e0b8a19f900ea5 (diff) |
always append -W flags to CFLAGS
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -38,10 +38,11 @@ CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make ${MAKE_FLAGS} -sf -` if [ -z "${CFLAGS}" ]; then CFLAGS=`printf "all:\\n\\t@echo \\\$(CFLAGS)\\n" | make ${MAKE_FLAGS} -sf -` - CFLAGS="${CFLAGS} -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes" - CFLAGS="${CFLAGS} -Wwrite-strings -Wno-unused-parameter" fi +CFLAGS="${CFLAGS} -W -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes" +CFLAGS="${CFLAGS} -Wwrite-strings -Wno-unused-parameter" + if [ -z "${LDFLAGS}" ]; then LDFLAGS=`printf "all:\\n\\t@echo \\\$(LDFLAGS)\\n" | make ${MAKE_FLAGS} -sf -` LDFLAGS="-ltls -levent -lcrypto" |