gnu: megaglest: Pass -fcommon to compiler.

* gnu/packages/games.scm (megaglest)[arguments]: Add -fcommon to CFLAGS and
CXXFLAGS.
This commit is contained in:
Ricardo Wurmus 2021-11-22 20:06:41 +01:00
parent be99485786
commit 1882282843
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -6051,7 +6051,9 @@ (define-public megaglest
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)))
(arguments (arguments
`(#:configure-flags `(#: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") (assoc-ref %build-inputs "megaglest-data")
"/share/megaglest") "/share/megaglest")
"-DBUILD_MEGAGLEST_TESTS=ON") "-DBUILD_MEGAGLEST_TESTS=ON")