diff options
author | Kurt Fitzner <kurt@va1der.ca> | 2023-01-29 15:53:53 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-01-31 00:52:23 +0800 |
commit | 85d2c8e80f418c456c28213a08f692e33833b8c4 (patch) | |
tree | b94167636aa519bfca332d13a48f86275026de60 /Configure | |
parent | c0a24b11a0434ad8c8b1e758b952f8546d69c216 (diff) | |
download | perl-85d2c8e80f418c456c28213a08f692e33833b8c4.tar.gz |
Configure - fix handling of quoted gcc output
This patch was submitted in GH issue #20606. When gcc output contains
quoted elements we fail to handle it properly. This tweaks the sed
command to do so.
Fixes #20606.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23778,7 +23778,7 @@ EOF for i in \`$cc -v -c tmp.c 2>&1 $postprocess_cc_v\` do case "\$i" in - -D*) echo "\$i" | $sed 's/^-D//';; + -D*) echo "\$i" | $sed 's/^-D//;s/['\''\"]//g';; -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A//' | $sed 's/\(.*\)(\(.*\))/\1=\2/';; esac done |