aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-07-29 19:05:27 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-07-29 19:38:48 +0000
commit5424b74e0866fdb5103141b9a57246bcfcdb2db7 (patch)
tree2824eb1d8740ccf6a45eb22b5fd1f464865f2ee8
parenta2d4f327a7d8c3224ca74e024fe2ac8e375b5f19 (diff)
downloadaports-5424b74e0866fdb5103141b9a57246bcfcdb2db7.tar.gz
aports-5424b74e0866fdb5103141b9a57246bcfcdb2db7.tar.bz2
aports-5424b74e0866fdb5103141b9a57246bcfcdb2db7.tar.xz
community/darktable: fix segfault on start
06e7165097 (community/darktable: build with -O2 to fix build, 2021-07-28) tried to fix the segfault, but setting CXXFLAGS does not work. Setting CFLAGS does suffice, so set -O2 via CFLAGS.
-rw-r--r--community/darktable/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/darktable/APKBUILD b/community/darktable/APKBUILD
index d4e5ff8127..1fce09853f 100644
--- a/community/darktable/APKBUILD
+++ b/community/darktable/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=darktable
pkgver=3.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="an open source photography workflow application and raw developer"
url="https://www.darktable.org/"
arch="x86_64 aarch64"
@@ -50,7 +50,7 @@ prepare() {
build() {
cd "$builddir/build"
- export CXXFLAGS="$CXXFLAGS -O2"
+ export CFLAGS="$CFLAGS -O2"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \