diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-11-21 10:17:52 +0000 |
---|---|---|
committer | Adam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com> | 2023-11-30 10:24:57 +0000 |
commit | 68aaaec7d2844cf16706b71b80d433f1b426e733 (patch) | |
tree | a256923224d5eab5b3adab4ffb29580facbb4db9 /pkgs/development/compilers/gcc | |
parent | 52a13b8125c47617e47902351e6d6d47e675c3a7 (diff) | |
download | nixlib-68aaaec7d2844cf16706b71b80d433f1b426e733.tar nixlib-68aaaec7d2844cf16706b71b80d433f1b426e733.tar.gz nixlib-68aaaec7d2844cf16706b71b80d433f1b426e733.tar.bz2 nixlib-68aaaec7d2844cf16706b71b80d433f1b426e733.tar.lz nixlib-68aaaec7d2844cf16706b71b80d433f1b426e733.tar.xz nixlib-68aaaec7d2844cf16706b71b80d433f1b426e733.tar.zst nixlib-68aaaec7d2844cf16706b71b80d433f1b426e733.zip |
gcc12, gcc13: fix typos in comments around __FILE__ patch
Noticed by Robert Schütz.
Diffstat (limited to 'pkgs/development/compilers/gcc')
-rw-r--r-- | pkgs/development/compilers/gcc/patches/12/mangle-NIX_STORE-in-__FILE__.patch | 4 | ||||
-rw-r--r-- | pkgs/development/compilers/gcc/patches/13/mangle-NIX_STORE-in-__FILE__.patch | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/compilers/gcc/patches/12/mangle-NIX_STORE-in-__FILE__.patch b/pkgs/development/compilers/gcc/patches/12/mangle-NIX_STORE-in-__FILE__.patch index d938d67a2d06..4e6c392ce76e 100644 --- a/pkgs/development/compilers/gcc/patches/12/mangle-NIX_STORE-in-__FILE__.patch +++ b/pkgs/development/compilers/gcc/patches/12/mangle-NIX_STORE-in-__FILE__.patch @@ -17,10 +17,10 @@ Ideally we would like to use `-fmacro-prefix-map=` feature of `gcc` as: -fmacro-prefix-map=/nix/store/$hash1-nlohmann-json-ver=/nix/store/eeee.eee-nlohmann-json-ver -fmacro-prefix-map=/nix/... -In practice it quickly exhausts argument lengtth limit due to `gcc` +In practice it quickly exhausts argument length limit due to `gcc` deficiency: https://gcc.gnu.org/PR111527 -Until it;s fixed let's hardcode header mangling if $NIX_STORE variable +Until it's fixed let's hardcode header mangling if $NIX_STORE variable is present in the environment. Tested as: diff --git a/pkgs/development/compilers/gcc/patches/13/mangle-NIX_STORE-in-__FILE__.patch b/pkgs/development/compilers/gcc/patches/13/mangle-NIX_STORE-in-__FILE__.patch index 57ae2111f020..ea0673219eb1 100644 --- a/pkgs/development/compilers/gcc/patches/13/mangle-NIX_STORE-in-__FILE__.patch +++ b/pkgs/development/compilers/gcc/patches/13/mangle-NIX_STORE-in-__FILE__.patch @@ -17,10 +17,10 @@ Ideally we would like to use `-fmacro-prefix-map=` feature of `gcc` as: -fmacro-prefix-map=/nix/store/$hash1-nlohmann-json-ver=/nix/store/eeee.eee-nlohmann-json-ver -fmacro-prefix-map=/nix/... -In practice it quickly exhausts argument lengtth limit due to `gcc` +In practice it quickly exhausts argument length limit due to `gcc` deficiency: https://gcc.gnu.org/PR111527 -Until it;s fixed let's hardcode header mangling if $NIX_STORE variable +Until it's fixed let's hardcode header mangling if $NIX_STORE variable is present in the environment. Tested as: |