diff options
author | Bo Davidson | 2021-12-30 15:49:37 -0600 |
---|---|---|
committer | Bo Davidson | 2021-12-30 15:49:37 -0600 |
commit | 4acb75d372a2b4d31b23364193ca5f4b375cb82c (patch) | |
tree | bf9da7a45b9571a928d04934392a40afc5ca175a /PKGBUILD | |
parent | 0ef1244f3976445bd3b0a0362cdf2123332bd2cc (diff) | |
download | aur-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
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |