[AUR] Change Emacs optimisation, change to pgtk branch

Avoid potential bugs and errors with Emacs by changing the
optimisation level to O2 instead of O3

Switch to pgtk branch in case I want to try a wayland compositor

Bump version
This commit is contained in:
Lucien Cartier-Tilet 2021-09-01 21:15:26 +02:00
parent 44aa14bad3
commit b43fc760b3
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ if [[ $CLI == "YES" ]] ; then
else
pkgname="emacs-phundrak-git"
fi
pkgver=28.0.50.149200
pkgver=28.0.50.149350
pkgrel=1
pkgdesc="GNU Emacs. Development master branch with Phundraks tweaks."
arch=('x86_64')
@ -74,15 +74,15 @@ conflicts=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox' 'emacs-g
replaces=('emacs' 'emacs26-git' 'emacs-27-git' 'emacs-seq' 'emacs-nox' 'emacs-git')
#source=("emacs-git::git://git.savannah.gnu.org/emacs.git")
# If Savannah fails for reasons, use Github's mirror
source=("emacs-git::git://github.com/emacs-mirror/emacs.git")
source=("emacs-git::git://github.com/emacs-mirror/emacs.git#branch=feature/pgtk")
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)
md5sums=('SKIP')
################################################################################
################################################################################
CFLAGS+=" -O3 -march=native -mtune=native"
CXXFLAGS+=" -O3 -march=native -mtune=native"
CFLAGS+=" -O2 -march=native -mtune=native"
CXXFLAGS+=" -O2 -march=native -mtune=native"
if [[ $GOLD == "YES" && ! $CLANG == "YES" ]]; then
export LD=/usr/bin/ld.gold