diff options
author | vitalyr | 2022-05-19 23:47:07 +0800 |
---|---|---|
committer | vitalyr | 2022-05-19 23:47:07 +0800 |
commit | f795d22cf20051cb8b0c8887e3f9743a156883bc (patch) | |
tree | 2a79029229071eca583fe9c6f1ede71bbd9ad247 | |
parent | 6446cc9637e589b7c8eb1cf0d9d8b9115ca8e741 (diff) | |
download | aur-f795d22cf20051cb8b0c8887e3f9743a156883bc.tar.gz |
use gcc, for the emacs compiled using gcc is faster (really?)
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = emacs-pgtk-git pkgdesc = GNU Emacs. Development master branch. - pkgver = 29.0.50.155783 + pkgver = 29.0.50.156571 pkgrel = 1 url = http://www.gnu.org/software/emacs/ install = emacs-git.install @@ -8,9 +8,7 @@ pkgbase = emacs-pgtk-git license = GPL3 makedepends = git makedepends = mold - makedepends = clang - makedepends = llvm - makedepends = lld + makedepends = mold makedepends = xorgproto makedepends = libxi depends = gnutls @@ -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-pgtk-git" fi -pkgver=29.0.50.155783 +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 |