Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
ab3_defcfg: enable LTO across the board
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai committed May 10, 2020
1 parent c17910f commit 1208397
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions etc/autobuild/ab3_defcfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
##Misc building flags
ABARCHIVE=autobuild-aoscarchive # Archive program
ABSHADOW=yes # Shall shadow builds be performed by default?
# LTO switches, enabled by default for x86_64 in accordance to Core 4.
# Also enable it by default for i486, as we will share the same build hosts.
if [[ $(uname -m) = "x86_64" || $(uname -m) = "i486" ]]; then
NOLTO=no
else
NOLTO=yes
fi
NOLTO=no # Enable LTO by default.
USECLANG=no # Are we using clang?
NOSTATIC=yes # Want those big fat static libraries?
ABCLEAN=yes # Clean before build?
Expand Down

0 comments on commit 1208397

Please sign in to comment.