Merge pull request #176434 from trofi/workaround-fno-common-for-dillo

dillo: add -fcommon workaround
This commit is contained in:
Anderson Torres 2022-06-05 18:23:21 -03:00 committed by GitHub
commit e2de23b6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
buildInputs = with lib;
[ perl fltk openssl libjpeg libpng libXcursor libXi libXinerama ];
# Workaround build failure on -fno-common toolchains:
# ld: main.o:/build/dillo-3.0.5/dpid/dpid.h:64: multiple definition of `sock_set';
# dpid.o:/build/dillo-3.0.5/dpid/dpid.h:64: first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
configureFlags = [ "--enable-ssl" ];
meta = with lib; {