summaryrefslogtreecommitdiff
path: root/gnu/packages/qt.scm
diff options
context:
space:
mode:
authorDoğan Çeçen <sepeth@fastmail.com>2024-09-02 15:29:32 +0300
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-09-06 22:47:21 +0800
commit4d19bacc8ec5b21e5699a8416cef52f5b6e85b08 (patch)
tree598675eb2b3dca0737ab7c0de2e133e39ce6929e /gnu/packages/qt.scm
parente308bbe0bf39df8f2c1ca58d190782e467341d32 (diff)
gnu: qcoro-qt: Build with -fPIC
* gnu/packages/qt.scm (qcoro-qt5, qcoro-qt6)[arguments]: Adjust configure-flags to add -fPIC to CMAKE_CXX_FLAGS. Change-Id: I5ed2ee18cec120b282863ce6a5f6b6b149059515 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'gnu/packages/qt.scm')
-rw-r--r--gnu/packages/qt.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index b99ce365d7..15b1a50fd3 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -153,7 +153,8 @@
(build-system qt-build-system)
(arguments
(list #:configure-flags
- #~(list (string-append "-DUSE_QT_VERSION="
+ #~(list "-DCMAKE_CXX_FLAGS=-fPIC"
+ (string-append "-DUSE_QT_VERSION="
#$(version-major
(package-version
(this-package-input "qtbase")))))))