mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 21:27:37 -05:00
gnu: megaglest: Pass -fcommon to compiler.
* gnu/packages/games.scm (megaglest)[arguments]: Add -fcommon to CFLAGS and CXXFLAGS.
This commit is contained in:
parent
be99485786
commit
1882282843
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue