mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
gcc34: fix build on i686
This commit is contained in:
parent
192bdc79ae
commit
dd25120e8e
@ -15,7 +15,12 @@ stdenv.mkDerivation {
|
||||
md5 = "4a21ac777d4b5617283ce488b808da7b";
|
||||
};
|
||||
|
||||
patches = if noSysDirs then [./no-sys-dirs.patch] else [];
|
||||
patches = stdenv.lib.optional noSysDirs ./no-sys-dirs.patch;
|
||||
|
||||
# inspiration: https://aur.archlinux.org/packages/g77/
|
||||
postPatch = ''
|
||||
substituteInPlace gcc/config/i386/linux.h --replace 'struct siginfo' siginfo_t
|
||||
'';
|
||||
|
||||
inherit noSysDirs profiledCompiler;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user