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 @@ (define-public megaglest ("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")