Merge pull request #81191 from clkamp/stdenv-multi-line-libc-cflags
stdenv: Fix gcc multi line libc-cflags
This commit is contained in:
commit
5c4dd08a03
1 changed files with 4 additions and 0 deletions
|
@ -363,7 +363,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