Skip to content

Commit 7764959

Browse files
committed
[gn/mac] bump HOST_LINK_VERSION to 520
With this, clang will pass -platform_version instead of -mmacosx_version_min to the linker. Recent versions of the linker complain that the flag is now spelled mmacos_version_min (without the x), and this supresses that warning. 520 is over 4 years old by now, so just changing this unconditionally seems fine.
1 parent 697bc74 commit 7764959

File tree

1 file changed

+1
-1
lines changed
  • llvm/utils/gn/secondary/clang/include/clang/Config

1 file changed

+1
-1
lines changed

llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ write_cmake_config("Config") {
6868
# FIXME: Hardcoding this isn't great, but assuming that the host ld version
6969
# has anything to do with the ld version where the built clang will run
7070
# isn't either. Probably want to make this a declare_args.
71-
values += [ "HOST_LINK_VERSION=305" ]
71+
values += [ "HOST_LINK_VERSION=520" ]
7272
} else {
7373
values += [ "HOST_LINK_VERSION=" ]
7474
}

0 commit comments

Comments
 (0)