HomeFreeBSD

bsd.linker.mk: Use :C not :S for regex

Description

bsd.linker.mk: Use :C not :S for regex

Whilst ^ and $ are supported with C, those are special cases, and
general regex syntax like groups and alternations are not. Use the
correct modifier so we get a version number out that's not 0 (which is
what happens when it can't be parsed by the later code).

Fixes: c4177f5b41d4 ("bsd.linker.mk: Handle Xcode 15 linker identification")
MFC after: 1 week

(cherry picked from commit 7f9318a022ef0e5104fd429dc2d9ac37b9916353)

Details

Provenance
jrtc27Authored on Jul 24 2023, 12:50 AM
Parents
rG4948a2403ee3: bsd.linker.mk: Handle Xcode 15 linker identification
Branches
Unknown
Tags
Unknown