[llvm] 7764959 - [gn/mac] bump HOST_LINK_VERSION to 520
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 09:05:30 PDT 2024
Author: Nico Weber
Date: 2024-09-04T12:05:18-04:00
New Revision: 776495987272294de6aafbe73dab3e9ab445227a
URL: https://github.com/llvm/llvm-project/commit/776495987272294de6aafbe73dab3e9ab445227a
DIFF: https://github.com/llvm/llvm-project/commit/776495987272294de6aafbe73dab3e9ab445227a.diff
LOG: [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.
Added:
Modified:
llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
index a3fb952b1112b8..bc0631dc269ac7 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
@@ -68,7 +68,7 @@ write_cmake_config("Config") {
# FIXME: Hardcoding this isn't great, but assuming that the host ld version
# has anything to do with the ld version where the built clang will run
# isn't either. Probably want to make this a declare_args.
- values += [ "HOST_LINK_VERSION=305" ]
+ values += [ "HOST_LINK_VERSION=520" ]
} else {
values += [ "HOST_LINK_VERSION=" ]
}
More information about the llvm-commits
mailing list