]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/work: allow single character values in -Wl, linker flags
authorPedro Tôrres <t0rr3sp3dr0@gmail.com>
Fri, 20 Dec 2024 06:45:52 +0000 (06:45 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 23 Dec 2024 15:08:22 +0000 (07:08 -0800)
commit9f6c80a76ad56f653b743fe2df3f2296210c90d6
treefe8f7cdbb9942f92971957ab43c9f9208d7709ab
parent05d8984781f7cf2f0f39b53699a558b6a1965c6c
cmd/go/internal/work: allow single character values in -Wl, linker flags

Allow single character values in -Wl, linker flags by modifying the regular
expressions to use the star operator instead of the plus operator.

Fixes #70924

Change-Id: Ie7940197cc8503440a87c6b29409a13377a20534
GitHub-Last-Rev: 42e8ac87d600239ceff434eb202e2747f2cceb3c
GitHub-Pull-Request: golang/go#70937
Reviewed-on: https://go-review.googlesource.com/c/go/+/638035
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/go/internal/work/security.go
src/cmd/go/internal/work/security_test.go