diff options
Diffstat (limited to 'pkgs/games/lincity/default.nix')
-rw-r--r-- | pkgs/games/lincity/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/games/lincity/default.nix b/pkgs/games/lincity/default.nix index 397ca0cfe8e..c2ce8f3d82b 100644 --- a/pkgs/games/lincity/default.nix +++ b/pkgs/games/lincity/default.nix @@ -25,9 +25,18 @@ stdenv.mkDerivation rec { }) ]; + # Workaround build failure on -fno-common toolchains like upstream + # gcc-10. Otherwise build fails as: + # ld: modules/.libs/libmodules.a(rocket_pad.o):/build/lincity-1.13.1/modules/../screen.h:23: + # multiple definition of `monthgraph_style'; ldsvguts.o:/build/lincity-1.13.1/screen.h:23: first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + meta = with lib; { description = "City simulation game"; license = licenses.gpl2Plus; homepage = "https://sourceforge.net/projects/lincity"; + maintainers = with maintainers; [ ]; + # ../lcintl.h:14:10: fatal error: 'libintl.h' file not found + broken = stdenv.isDarwin; }; } |