summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Alexander Seistrup2024-01-11 09:09:51 +0100
committerKlaus Alexander Seistrup2024-01-11 09:09:51 +0100
commit6e5e2fb29ef10aab156b877c2d7157e9bc6a79bf (patch)
treec5f3e4a0a413e58b9bfe2e843b27e711f347ecd5
parentdb05476b8a79d08116ef944b50cfb9dcf3bda9a3 (diff)
downloadaur-6e5e2fb29ef10aab156b877c2d7157e9bc6a79bf.tar.gz
Drop fat LTO objects
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86c5335780e9..f08856b553cb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = slang-snapshot
pkgdesc = S-Lang is a powerful interpreted language (development snapshot)
pkgver = 2.3.4.8
- pkgrel = 1
+ pkgrel = 2
url = https://jedsoft.org/snapshots/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 21011f71d2a9..1d78e500d31c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Klaus Alexander Seistrup
+# Maintainer: Klaus Alexander Seistrup <klaus@seistrup.dk>
# -*- mode: sh -*-
pkgname='slang-snapshot'
@@ -6,7 +6,7 @@ _pkgname="${pkgname%-snapshot}"
_pkgver='2.3.4-8'
_prever="pre$_pkgver"
pkgver="${_pkgver/-/.}"
-pkgrel=1
+pkgrel=2
pkgdesc='S-Lang is a powerful interpreted language (development snapshot)'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
provides=('slang')
@@ -30,10 +30,12 @@ md5sums=('c740ca7ded82fa29849046ca33c572b1')
build() {
cd "${_pkgname}-${_prever}" || exit 1
- case "$CLAGS" in
- *-ffat-lto-objects* ) : pass ;;
- * ) export CFLAGS="$CFLAGS -ffat-lto-objects" ;;
- esac
+ # We do not install libslang.a, so fat LTO object seems unnecessary.
+ # Let's keep it here, commented, just in case.
+ #case "$CLAGS" in
+ # *-ffat-lto-objects* ) : pass ;;
+ # * ) export CFLAGS="$CFLAGS -ffat-lto-objects" ;;
+ #esac
./configure --prefix=/usr --sysconfdir=/etc
make