From 6445f412b993ec7b52dc4c81e99f49af38b3a967 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 26 Dec 2021 20:29:22 +0000 Subject: gnu: rawtherapee: Fix build. * gnu/packages/photo.scm: (rawtherapee): Fix build. --- gnu/packages/photo.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/photo.scm') 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)) -- cgit 1.4.1