summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBo Davidson2021-12-30 15:49:37 -0600
committerBo Davidson2021-12-30 15:49:37 -0600
commit4acb75d372a2b4d31b23364193ca5f4b375cb82c (patch)
treebf9da7a45b9571a928d04934392a40afc5ca175a
parent0ef1244f3976445bd3b0a0362cdf2123332bd2cc (diff)
downloadaur-4acb75d372a2b4d31b23364193ca5f4b375cb82c.tar.gz
Disabling LTO for build, reports of seg faults
Upstream has disabled link time optimizations for both .deb and Fedora packages, so doing the same here after a reported seg fault. Need a more permanent fix from upstream. https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/668 https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/667
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d69114aa50d4..d8d079917612 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openrgb
pkgdesc = Open source RGB lighting control that doesn't depend on manufacturer software.
pkgver = 0.7
- pkgrel = 4
+ pkgrel = 5
url = https://gitlab.com/CalcProgrammer1/OpenRGB
arch = x86_64
license = GPL2
@@ -11,6 +11,7 @@ pkgbase = openrgb
depends = hidapi
depends = mbedtls
optdepends = i2c-tools: Motherboard & RAM access
+ options = !lto
source = https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_0.7/OpenRGB-release_0.7.tar.gz
source = openrgb.conf
source = openrgb.service
diff --git a/PKGBUILD b/PKGBUILD
index 36903bd35533..edbce47f9fa2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Paul Davis <paul@dangersalad.com>
pkgname=openrgb
pkgver=0.7
-pkgrel=4
+pkgrel=5
pkgdesc="Open source RGB lighting control that doesn't depend on manufacturer software."
arch=("x86_64")
url="https://gitlab.com/CalcProgrammer1/OpenRGB"
@@ -10,6 +10,11 @@ license=('GPL2')
depends=('qt5-base' 'libusb' 'hidapi' 'mbedtls')
makedepends=('pkgconf')
optdepends=('i2c-tools: Motherboard & RAM access')
+
+# Using Link Time Optimization can cause segment fault at runtime. Disabled until upstream fix
+# https://gitlab.com/CalcProgrammer1/OpenRGB/-/commit/8e6e5c1becdd610cd9206bbdcf5616ce4b43e0f1
+# https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/668
+options=('!lto')
source=(
"https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_$pkgver/OpenRGB-release_$pkgver.tar.gz"
openrgb.conf