diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-11-22 20:06:41 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-11-22 20:32:07 +0100 |
commit | 1882282843636c9bdcde55b584582ed8c63ef111 (patch) | |
tree | 9df79daeb51d38eaf35bc0fba3551dd135f8f438 /gnu/packages/games.scm | |
parent | be99485786bbca88d04fb0738f7afe2d36cd5a26 (diff) | |
download | guix-1882282843636c9bdcde55b584582ed8c63ef111.tar.gz guix-1882282843636c9bdcde55b584582ed8c63ef111.zip |
gnu: megaglest: Pass -fcommon to compiler.
* gnu/packages/games.scm (megaglest)[arguments]: Add -fcommon to CFLAGS and
CXXFLAGS.
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r-- | gnu/packages/games.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index c80335a1ea..e9f4586a29 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") |