Browse Source

emacs-build: new CFLAGS to improve stability

main v30.228.20240309.3e76e1a
Kien Nguyen 8 months ago
parent
commit
382ad46595
  1. 9
      emacs-build.sh

9
emacs-build.sh

@ -444,10 +444,11 @@ emacs_build_install_dir="$emacs_build_root/pkg"
emacs_build_zip_dir="$emacs_build_root/zips"
emacs_strip_executables="no"
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"
# 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"
CFLAGS="-O2 -fno-semantic-interposition -floop-parallelize-all -ftree-parallelize-loops=4"
while test -n "$*"; do
case $1 in

Loading…
Cancel
Save