gtklp: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: libgtklp.a(libgtklp.o):libgtklp/libgtklp.h:83: multiple definition of `progressBar'; file.o:libgtklp/libgtklp.h:83: first defined here
This commit is contained in:
parent
4ae74bbc94
commit
d201f4c01b
@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
|
||||
./patches/autoconf.patch
|
||||
];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: libgtklp.a(libgtklp.o):libgtklp/libgtklp.h:83: multiple definition of `progressBar';
|
||||
# file.o:libgtklp/libgtklp.h:83: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace include/defaults.h --replace "netscape" "firefox"
|
||||
substituteInPlace include/defaults.h --replace "http://localhost:631/sum.html#STANDARD_OPTIONS" \
|
||||
|
Loading…
Reference in New Issue
Block a user