From cd7df7bbb4eb470a654e6327f1e215fc4430fe9e Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Sat, 13 Jan 2024 18:22:37 -0500 Subject: [PATCH] Enable higher optimization on fancy compilers. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index abe4636..25dba3a 100755 --- a/configure +++ b/configure @@ -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