mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
stdenv: Fix gcc multi line libc-cflags
which broke at least libstdc++5. Closes #79761
This commit is contained in:
parent
205f42b142
commit
80729b6787
1 changed files with 4 additions and 0 deletions
|
@ -361,7 +361,11 @@ stdenv.mkDerivation {
|
|||
done
|
||||
''
|
||||
|
||||
# There are a few tools (to name one libstdcxx5) which do not work
|
||||
# well with multi line flags, so make the flags single line again
|
||||
+ ''
|
||||
substituteInPlace $out/nix-support/libc-cflags --replace $'\n' ' '
|
||||
|
||||
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
|
||||
substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
|
||||
substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
|
||||
|
|
Loading…
Reference in a new issue