summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2024-07-26 12:44:15 -0600
committerMark Wagie2024-07-26 12:44:15 -0600
commit9531be9c30d492668fcee7164464616815d0bc2e (patch)
tree12d3b808cc9b35ff8ca4abd43fec410c2fb07613
parent6cac91f570737d4335971532808a76e2b6ca0165 (diff)
downloadaur-9531be9c30d492668fcee7164464616815d0bc2e.tar.gz
drop LTO specific CFLAGS for those that disable LTO
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65acd1bb483e..020e2a90d44e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -18,6 +18,7 @@ pkgbase = cosmic-applets-git
depends = libxkbcommon
provides = cosmic-applets
conflicts = cosmic-applets
+ options = !lto
source = git+https://github.com/pop-os/cosmic-applets.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index a60bfc1e47b7..518305a5ec4f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,6 +24,7 @@ makedepends=(
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
+options=('!lto')
source=('git+https://github.com/pop-os/cosmic-applets.git')
sha256sums=('SKIP')
@@ -40,7 +41,6 @@ prepare() {
build() {
cd "${pkgname%-git}"
- CFLAGS+=" -ffat-lto-objects"
export RUSTUP_TOOLCHAIN=stable
# use mold instead of lld to speed up build