gmtp: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: gmtp-preferences.o:src/main.h:72: multiple definition of `scrolledwindowMain'; gmtp-about.o:src/main.h:72: first defined here
This commit is contained in:
parent
fdf46783c7
commit
5c525e6db0
|
@ -18,6 +18,12 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
# Workaround build failure on -fno-common toolchains:
|
||||||
|
# ld: gmtp-preferences.o:src/main.h:72: multiple definition of
|
||||||
|
# `scrolledwindowMain'; gmtp-about.o:src/main.h:72: first defined here
|
||||||
|
# TODO: can be removed when 1.4.0 is released.
|
||||||
|
#NIX_CFLAGS_COMPILE = "-fcommon";
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(--add-flags "--datapath $out/share");
|
gappsWrapperArgs+=(--add-flags "--datapath $out/share");
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue