aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2021-12-26 20:29:22 +0000
committerMathieu Othacehe <othacehe@gnu.org>2021-12-26 22:28:35 +0100
commit6445f412b993ec7b52dc4c81e99f49af38b3a967 (patch)
tree80f323df190f068536bcf67188ff057fcc46bb3f
parent17d7343df82f9865fad5035285976be3000131d4 (diff)
downloadguix-6445f412b993ec7b52dc4c81e99f49af38b3a967.tar
guix-6445f412b993ec7b52dc4c81e99f49af38b3a967.tar.gz
gnu: rawtherapee: Fix build.
* gnu/packages/photo.scm: (rawtherapee): Fix build.
-rw-r--r--gnu/packages/photo.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm
index fa603a60be..e6f26c3b72 100644
--- a/gnu/packages/photo.scm
+++ b/gnu/packages/photo.scm
@@ -770,7 +770,8 @@ a complete panorama and stitch any series of overlapping pictures.")
"-DPROC_TARGET_NUMBER=1"
;; These flags are recommended by upstream for distributed packages.
;; See the file 'RELEASE_NOTES.txt' in the source distribution.
- "-O3"
+ "-DCMAKE_CXX_FLAGS=-O3 -fPIC"
+ "-DCMAKE_C_FLAGS=-O3 -fPIC"
"-DCACHE_NAME_SUFFIX=\"\"")))
(native-inputs
(list pkg-config))