forked from latticeware/Cytoplasm
Enable higher optimization on fancy compilers.
This commit is contained in:
parent
c489eff517
commit
cd7df7bbb4
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*)
|
||||
# "Fancy" compilers that support a plethora of additional flags we
|
||||
# want to enable if present.
|
||||
CFLAGS="-Wall -Wextra -Werror -pedantic -std=c99 ${CFLAGS}"
|
||||
CFLAGS="-Wall -Wextra -Werror -pedantic -std=c99 -O3 ${CFLAGS}"
|
||||
LDFLAGS="-flto -fdata-sections -ffunction-sections -s -Wl,-gc-sections"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue