gcc12, gcc13: fix typos in comments around __FILE__ patch

Noticed by Robert Schütz.
This commit is contained in:
Sergei Trofimovich
2023-11-30 10:24:57 +00:00
committed by Adam Joseph
parent 52a13b8125
commit 68aaaec7d2
2 changed files with 4 additions and 4 deletions
@@ -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:
@@ -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: