Skip to content

Commit ed30173

Browse files
committed
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>
1 parent 0ae2e03 commit ed30173

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

misc/cgo/testcarchive/carchive_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ func testMain(m *testing.M) int {
118118
cc = append(cc, s[start:])
119119
}
120120

121-
if GOOS == "darwin" || GOOS == "ios" {
122-
// For Darwin/ARM.
123-
// TODO: do we still need this?
124-
cc = append(cc, []string{"-framework", "CoreFoundation", "-framework", "Foundation"}...)
125-
}
126121
if GOOS == "aix" {
127122
// -Wl,-bnoobjreorder is mandatory to keep the same layout
128123
// in .text section.

0 commit comments

Comments
 (0)