Merge pull request #176267 from trofi/workaround-fno-common-for-mmixware

This commit is contained in:
Sandro 2022-06-05 13:11:31 +02:00 committed by GitHub
commit af45677225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,10 @@ stdenv.mkDerivation {
substituteInPlace Makefile --replace 'rm abstime.h' ""
'';
# Workaround build failure on -fno-common toolchains:
# ld: mmix-config.o:(.bss+0x600): multiple definition of `buffer'; /build/ccDuGrwH.o:(.bss+0x20): first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
nativeBuildInputs = [ tetex ];
enableParallelBuilding = true;