diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-27 15:57:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-27 16:07:03 +0200 |
commit | 6b9dbfaaf2b3dfdf3627b57c7f15c6a3cd105f35 (patch) | |
tree | bc9dae9de5b50a85dd05d2a64e13dc83c8121593 /libbuild2/bash/rule.cxx | |
parent | 72e9ec3d7028765836851b515d80816f2da74060 (diff) |
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'libbuild2/bash/rule.cxx')
-rw-r--r-- | libbuild2/bash/rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/bash/rule.cxx b/libbuild2/bash/rule.cxx index 6e287e0..29c6a2a 100644 --- a/libbuild2/bash/rule.cxx +++ b/libbuild2/bash/rule.cxx @@ -406,7 +406,7 @@ namespace build2 "source \"$(dirname" " \"$(readlink -f" " \"${BASH_SOURCE[0]}\")\")/" - + iip.string () + "\""; + + iip.string () + '"'; } else { @@ -427,7 +427,7 @@ namespace build2 return "source \"$(dirname" " \"${BASH_SOURCE[0]}\")/" - + o + iip.string () + "\""; + + o + iip.string () + '"'; } } else |