diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-06-17 22:11:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 22:11:21 +0200 |
commit | daa987e3937235e9f1d2c3626ac616fb2442e675 (patch) | |
tree | df5bc31ba8987983d4381703dc6b6912bfe32dd2 /pkgs/games | |
parent | cf1ec58e20d1aa218af17299287e2b6c9363d69b (diff) | |
parent | 8fc1c4255f383937ef60c06a3365b2bce427befe (diff) |
Merge pull request #177089 from trofi/workaround-fno-common-for-garden-of-coloured-lights
garden-of-coloured-lights: add -fcommon workaround
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/garden-of-coloured-lights/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/games/garden-of-coloured-lights/default.nix b/pkgs/games/garden-of-coloured-lights/default.nix index 9e842acfa9a50..9f9e85905a0a9 100644 --- a/pkgs/games/garden-of-coloured-lights/default.nix +++ b/pkgs/games/garden-of-coloured-lights/default.nix @@ -18,6 +18,11 @@ stdenv.mkDerivation rec { sha256 = "1qsj4d7r22m5f9f5f6cyvam1y5q5pbqvy5058r7w0k4s48n77y6s"; }; + # Workaround build failure on -fno-common toolchains: + # ld: main.o:src/main.c:58: multiple definition of + # `eclass'; eclass.o:src/eclass.c:21: first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + meta = with lib; { description = "Old-school vertical shoot-em-up / bullet hell"; homepage = "http://garden.sourceforge.net/drupal/"; |