diff options
author | Adam Reichold | 2023-08-04 18:31:12 +0200 |
---|---|---|
committer | Adam Reichold | 2023-08-04 18:32:55 +0200 |
commit | 58da94bf4486460e6c33753edef5846a54a30f3a (patch) | |
tree | f1c793c881b6d852e99e5f270a1c4fdf2e4408ee /PKGBUILD | |
parent | 3b1df6003b674a5b4c4e986ac8863e0819d0a4f0 (diff) | |
download | aur-58da94bf4486460e6c33753edef5846a54a30f3a.tar.gz |
Try harder to disable LTO which still breaks linking.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -13,6 +13,9 @@ makedepends=('git' 'qt6-tools' 'rust' 'cargo') conflicts=('qmediathekview') source=('git+https://github.com/adamreichold/QMediathekView.git') md5sums=('SKIP') +# disable LTO since this breaks linking static libraries built by GCC into the static library built by rustc into the binary built by GCC, +# c.f. https://github.com/adamreichold/QMediathekView/issues/18 +options+=('!lto') pkgver() { cd "$srcdir/QMediathekView" @@ -23,9 +26,7 @@ pkgver() { build() { cd "$srcdir/QMediathekView" - # disable LTO since this breaks linking static libraries built by GCC into the static library built by rustc into the binary built by GCC, - # c.f. https://github.com/adamreichold/QMediathekView/issues/18 - qmake6 CONFIG-=ltcg + qmake6 make } |