guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: megaglest: Pass -fcommon to compiler.


From: guix-commits
Subject: 01/03: gnu: megaglest: Pass -fcommon to compiler.
Date: Mon, 22 Nov 2021 14:32:47 -0500 (EST)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit 1882282843636c9bdcde55b584582ed8c63ef111
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Nov 22 20:06:41 2021 +0100

    gnu: megaglest: Pass -fcommon to compiler.
    
    * gnu/packages/games.scm (megaglest)[arguments]: Add -fcommon to CFLAGS and
    CXXFLAGS.
---
 gnu/packages/games.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c80335a..e9f4586 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -6051,7 +6051,9 @@ starting a decryption sequence to reveal the original 
plaintext characters.")
        ("pkg-config" ,pkg-config)))
     (arguments
      `(#:configure-flags
-       (list (string-append "-DCUSTOM_DATA_INSTALL_PATH="
+       (list "-DCMAKE_CXX_FLAGS=-fcommon"
+             "-DCMAKE_C_FLAGS=-fcommon"
+             (string-append "-DCUSTOM_DATA_INSTALL_PATH="
                             (assoc-ref %build-inputs "megaglest-data")
                             "/share/megaglest")
              "-DBUILD_MEGAGLEST_TESTS=ON")



reply via email to

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