mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-11-24 13:08:48 +03:00
Set -Wextra on fancy compilers.
This commit is contained in:
parent
039a487bdf
commit
c489eff517
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -63,7 +63,7 @@ for arg in $SCRIPT_ARGS; do
|
||||||
gcc*|clang*)
|
gcc*|clang*)
|
||||||
# "Fancy" compilers that support a plethora of additional flags we
|
# "Fancy" compilers that support a plethora of additional flags we
|
||||||
# want to enable if present.
|
# want to enable if present.
|
||||||
CFLAGS="-Wall -Werror -pedantic -std=c99 ${CFLAGS}"
|
CFLAGS="-Wall -Wextra -Werror -pedantic -std=c99 ${CFLAGS}"
|
||||||
LDFLAGS="-flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections"
|
LDFLAGS="-flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue