Commit 06e71650 authored by Kevin Daudt's avatar Kevin Daudt 💻 Committed by Andy Postnikov
Browse files

community/darktable: build with -O2 to fix build

Building with -Os segfaults 3.6.0, and as this is a computation heavy
application, building it with -O2 makes sense, while not increasing the
package size all that much:

> Size difference for darktable: 15 MiB -> 16 MiB
parent 69d5f2c3
......@@ -2,7 +2,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=darktable
pkgver=3.6.0
pkgrel=0
pkgrel=1
pkgdesc="an open source photography workflow application and raw developer"
url="https://www.darktable.org/"
arch="x86_64 aarch64"
......@@ -50,6 +50,7 @@ prepare() {
build() {
cd "$builddir/build"
export CXXFLAGS="$CXXFLAGS -O2"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment