[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: soci: Add PIE flag.

From: guix-commits
Subject: branch master updated: gnu: soci: Add PIE flag.
Date: Wed, 15 Nov 2023 04:12:55 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b712e563cf gnu: soci: Add PIE flag.
b712e563cf is described below

commit b712e563cf362e773aa3ad031411d69339b97843
Author: Ricardo Wurmus <>
AuthorDate: Tue Nov 14 23:44:51 2023 +0100

    gnu: soci: Add PIE flag.
    * gnu/packages/databases.scm (soci)[arguments]: Set CMAKE_CXX_FLAGS to add
    Change-Id: I79527759d0d35833168f5106a9d6f372375a8ebe
 gnu/packages/databases.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 3eeee9fadf..f0ea100c3b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -5001,7 +5001,9 @@ The drivers officially supported by @code{libdbi} are:
        ;; C++11 (-DSOCI_CXX11) is OFF by default.  hyperledger-iroha needs it.
        (list "-DCMAKE_CXX_STANDARD=17"
-             "-DSOCI_LIBDIR=lib")
+             "-DSOCI_LIBDIR=lib"
+             ;; This is for relocation when linking statically
+             "-DCMAKE_CXX_FLAGS=-fPIE")
        #:tests? #f))         ; may require running database management systems
     (synopsis "C++ Database Access Library")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]