mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
coriander: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: subtitles.o:src/coriander.h:110: multiple definition of `main_window'; main.o:src/coriander.h:110: first defined here
This commit is contained in:
parent
fdf46783c7
commit
d3c992949e
@ -22,6 +22,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0l6hpfgy5r4yardilmdrggsnn1fbfww516sk5a90g1740cd435x5";
|
||||
};
|
||||
|
||||
# Workaround build failure on -fno-common toolchains:
|
||||
# ld: subtitles.o:src/coriander.h:110: multiple definition of
|
||||
# `main_window'; main.o:src/coriander.h:110: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
preConfigure = ''
|
||||
cp ${automake}/share/automake-*/mkinstalldirs .
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user