From ff9fd0cca64365488e4b041ffde16c4cea3f606f Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Thu, 18 Jan 2024 03:19:36 -0800 Subject: [PATCH] Change CFLAGS for Windows with faster optimization --- emacs-build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs-build.sh b/emacs-build.sh index df7cf74..3d4faa2 100644 --- a/emacs-build.sh +++ b/emacs-build.sh @@ -444,7 +444,10 @@ emacs_build_install_dir="$emacs_build_root/pkg" emacs_build_zip_dir="$emacs_build_root/zips" emacs_strip_executables="no" -CFLAGS="-O2" +CFLAGS="-Ofast -fno-finite-math-only \ + -fassociative-math -fno-signed-zeros -frename-registers -funroll-loops \ + -fomit-frame-pointer \ + -fallow-store-data-races -fno-semantic-interposition -floop-parallelize-all -ftree-parallelize-loops=4" while test -n "$*"; do case $1 in