squeak: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: vm/vm.a(cogit.o):spur64src/vm/cogitX64SysV.c:2552: multiple definition of `traceStores'; vm/vm.a(gcc3x-cointerp.o):spur64src/vm/cogit.h:140: first defined here
This commit is contained in:
parent
a58de450c5
commit
8bc1f617dd
|
@ -136,6 +136,11 @@ in stdenv.mkDerivation {
|
||||||
--replace '/bin/rm ' '${coreutils}/bin/rm '
|
--replace '/bin/rm ' '${coreutils}/bin/rm '
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Workaround build failure on -fno-common toolchains:
|
||||||
|
# ld: vm/vm.a(cogit.o):spur64src/vm/cogitX64SysV.c:2552: multiple definition of
|
||||||
|
# `traceStores'; vm/vm.a(gcc3x-cointerp.o):spur64src/vm/cogit.h:140: first defined here
|
||||||
|
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||||
|
|
||||||
preAutoreconf = ''
|
preAutoreconf = ''
|
||||||
pushd ./platforms/unix/config > /dev/null
|
pushd ./platforms/unix/config > /dev/null
|
||||||
./mkacinc > ./acplugins.m4
|
./mkacinc > ./acplugins.m4
|
||||||
|
|
Loading…
Reference in a new issue