Merge pull request #176019 from trofi/workaround-fno-common-for-vokoscreen
vokoscreen: add -fcommon workaround
This commit is contained in:
commit
e2cc0bd2fd
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ mkDerivation rec {
|
||||||
./ffmpeg-out-of-box.patch
|
./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 = ''
|
preConfigure = ''
|
||||||
sed -i 's/lrelease-qt5/lrelease/g' vokoscreen.pro
|
sed -i 's/lrelease-qt5/lrelease/g' vokoscreen.pro
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue