aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-12-30 16:41:58 -0500
committerCherry Zhang <cherryyz@google.com>2020-12-30 22:39:59 +0000
commited301733bb228653f98ee9381e90bccf7a3e3bb6 (patch)
tree859b6ef249bb5a67032c89e705a678368d28db67 /misc
parent0ae2e032f2d42575cb64d0759a6d31a71f39412f (diff)
downloadgo-ed301733bb228653f98ee9381e90bccf7a3e3bb6.tar.gz
go-ed301733bb228653f98ee9381e90bccf7a3e3bb6.zip
misc/cgo/testcarchive: remove special flags for Darwin/ARM
The original Darwin/ARM port is gone. For ARM64, it works fine without the flags on macOS/ARM64. Remove the flags. Change-Id: I9cc00c49dd71376dd9c52abb78c2d8cec656b3db Reviewed-on: https://go-review.googlesource.com/c/go/+/280157 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/cgo/testcarchive/carchive_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/misc/cgo/testcarchive/carchive_test.go b/misc/cgo/testcarchive/carchive_test.go
index 6ed25d8948..6a5adf79ca 100644
--- a/misc/cgo/testcarchive/carchive_test.go
+++ b/misc/cgo/testcarchive/carchive_test.go
@@ -118,11 +118,6 @@ func testMain(m *testing.M) int {
cc = append(cc, s[start:])
}
- if GOOS == "darwin" || GOOS == "ios" {
- // For Darwin/ARM.
- // TODO: do we still need this?
- cc = append(cc, []string{"-framework", "CoreFoundation", "-framework", "Foundation"}...)
- }
if GOOS == "aix" {
// -Wl,-bnoobjreorder is mandatory to keep the same layout
// in .text section.