cdparanoiaIII: disable parallel building

Manually written makefile relies on inplace re-execution to build
shared and static libraries. Then built in parallel it occasionally
causes build failures when partially overwritten file gets used by
linker.

Let's disable parallel builds.
This commit is contained in:
Sergei Trofimovich 2021-10-22 10:41:40 +01:00
parent 992ecc024f
commit 10ead26812

View File

@ -35,6 +35,15 @@ stdenv.mkDerivation rec {
cp ${gnu-config}/config.guess configure.guess
'';
# Build system reuses the same object file names for shared and static
# library. Occasionally fails in the middle:
# gcc -O2 -fsigned-char -g -O2 -c scan_devices.c
# rm -f *.o core *~ *.out
# gcc -O2 -fsigned-char -g -O2 -fpic -c scan_devices.c
# gcc -fpic -shared -o libcdda_interface.so.0.10.2 ... scan_devices.o ...
# scan_devices.o: file not recognized: file format not recognized
enableParallelBuilding = false;
meta = with lib; {
homepage = "https://xiph.org/paranoia";
description = "A tool and library for reading digital audio from CDs";