diff options
author | Pedro A. López-Valencia | 2021-01-02 13:37:24 -0500 |
---|---|---|
committer | Pedro A. López-Valencia | 2021-01-02 13:37:24 -0500 |
commit | 11c00cd931d70bae7dde21ad2d3e27dab740c7aa (patch) | |
tree | 7e1673432f9a1eb1a796f585a62a072ad1d379a4 | |
parent | c1a0f5527631fa808c2a2775800ccace743d200e (diff) | |
download | aur-11c00cd931d70bae7dde21ad2d3e27dab740c7aa.tar.gz |
Fix LTO conditional, thanks to Hi-Angel.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = emacs-git pkgdesc = GNU Emacs. Development master branch. - pkgver = 28.0.50.141336 + pkgver = 28.0.50.144634 pkgrel = 1 url = http://www.gnu.org/software/emacs/ arch = x86_64 @@ -48,7 +48,7 @@ NOGZ="YES" # Don't compress .el files. ################################################################################ pkgname="emacs-git" -pkgver=28.0.50.141336 +pkgver=28.0.50.144634 pkgrel=1 pkgdesc="GNU Emacs. Development master branch." arch=('x86_64' ) @@ -92,12 +92,14 @@ if [[ $CLANG == "YES" ]]; then makedepends+=( 'clang' 'lld' 'llvm') ; fi -if [[ $LTO == "YES" ]] && [[ $CLANG != "YES" ]]; then +if [[ $LTO == "YES" ]]; then + if [[ $CLANG != "YES" ]]; then CFLAGS+=" -flto -fuse-linker-plugin" CXXFLAGS+=" -flto -fuse-linker-plugin" else CFLAGS+=" -flto" CXXFLAGS+=" -flto" + fi fi if [[ $NOTKIT == "YES" ]]; then |