]> git.ipfire.org Git - thirdparty/gcc.git/commit
config, aarch64: Use a more compatible sed invocation.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 17 Oct 2023 10:58:52 +0000 (11:58 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 25 Oct 2023 19:44:20 +0000 (20:44 +0100)
commit8f62ce10bc984855ca98483746ead2730eb36e2e
tree647ff9674ed485482a4c5a49bdeacd162f35ed0b
parent1aa9f1cc9887cde12ff6502358258d0bcf0db175
config, aarch64: Use a more compatible sed invocation.

Currently, the sed command used to parse --with-{cpu,tune,arch} are
using GNU-specific extension (automatically recognising extended regex).

This is failing on Darwin, which defualts to Posix behaviour.
However '-E' is accepted to indicate an extended RE.  Strictly, this
is also not really sufficient, since we should only require a Posix
sed.

gcc/ChangeLog:

* config.gcc: Use -E to to sed to indicate that we are using
extended REs.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/config.gcc