3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #176460 from trofi/workaround-fno-common-for-uae

uae: add -fcommon workaround
This commit is contained in:
Anderson Torres 2022-06-05 21:26:36 -03:00 committed by GitHub
commit d9808f7bf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
buildInputs = [ gtk2 alsa-lib SDL ];
hardeningDisable = [ "format" ];
# Workaround build failure on -fno-common toolchains:
# ld: bsdsocket.o:(.bss+0x0): multiple definition of
# `socketbases'; main.o:(.bss+0x2792c0): first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
LDFLAGS = [ "-lm" ];
meta = {