Merge pull request #177089 from trofi/workaround-fno-common-for-garden-of-coloured-lights

garden-of-coloured-lights: add -fcommon workaround
This commit is contained in:
Sandro 2022-06-17 22:11:21 +02:00 committed by GitHub
commit daa987e393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/";