Merge pull request #176019 from trofi/workaround-fno-common-for-vokoscreen

vokoscreen: add -fcommon workaround
This commit is contained in:
Sandro 2022-06-03 16:59:55 +02:00 committed by GitHub
commit e2cc0bd2fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,10 @@ mkDerivation rec {
./ffmpeg-out-of-box.patch
];
# Workaround build failure on -fno-common toolchains:
# ld: alsa_device.o:(.bss+0x8): multiple definition of `rc'; QvkAlsaDevice.o:(.bss+0x8): first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
preConfigure = ''
sed -i 's/lrelease-qt5/lrelease/g' vokoscreen.pro
'';