diff options
author | vitalyr | 2022-05-19 23:59:34 +0800 |
---|---|---|
committer | vitalyr | 2022-05-19 23:59:34 +0800 |
commit | eca7956a0318a2afed4dcb4ed6aa6d0c829c0e48 (patch) | |
tree | 5618b319e0887c092531cb7e3be6d13bc908f775 /PKGBUILD | |
parent | 108f15542f231ff7deb4ddf29ed29301b829d47c (diff) | |
download | aur-eca7956a0318a2afed4dcb4ed6aa6d0c829c0e48.tar.gz |
use gcc, for the emacs compiled using gcc is faster (really?)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -38,7 +38,7 @@ USE_ALL_CPU_CORES="YES" # Do you want to use all CPU cores? CHECK= # Run tests. May fail, this is developement after all. -CLANG="YES" # Use clang. +CLANG= # Use clang. GOLD= # Use the gold linker. @@ -103,7 +103,7 @@ if [[ $CLI == "YES" ]] ; then else pkgname="emacs-native-comp-git-enhanced" fi -pkgver=29.0.50.154541 +pkgver=29.0.50.156571 pkgrel=1 pkgdesc="GNU Emacs. Development master branch." arch=('x86_64') @@ -140,10 +140,9 @@ if [[ $MOLD == "YES" && ! $CLANG == "YES" ]]; then # Make sure mold is available in /usr/bin/mold, or # you could specify another path to mold. makedepends+=( 'mold' ) - ln -s /usr/bin/mold ./ld export LD=/usr/bin/mold - export CFLAGS+=" -B."; - export CXXFLAGS+=" -B."; + export CFLAGS+=" -fuse-ld=gold"; + export CXXFLAGS+=" -fuse-ld=gold"; fi if [[ $CLANG == "YES" ]]; then |