summaryrefslogtreecommitdiffstats
path: root/tools/archiver
diff options
context:
space:
mode:
authorhiddenpath <[email protected]>2023-04-01 11:37:25 +0300
committerhiddenpath <[email protected]>2023-04-01 11:37:25 +0300
commit96fdce27958935d2db8067a223a080e56cf0de14 (patch)
tree04ac88c9f83a7b01741d37dc677b29dfcb9ada48 /tools/archiver
parentebd4694e4ea72110b1b632fc348da17827dbca9f (diff)
Switch to lld64.ld on darwin target platform
Diffstat (limited to 'tools/archiver')
-rw-r--r--tools/archiver/CMakeLists.darwin-x86_64.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/archiver/CMakeLists.darwin-x86_64.txt b/tools/archiver/CMakeLists.darwin-x86_64.txt
index 19d224413fe..6a56edb8588 100644
--- a/tools/archiver/CMakeLists.darwin-x86_64.txt
+++ b/tools/archiver/CMakeLists.darwin-x86_64.txt
@@ -18,8 +18,7 @@ target_link_libraries(archiver PUBLIC
cpp-getopt-small
)
target_link_options(archiver PRIVATE
- -Wl,-no_deduplicate
- -Wl,-sdk_version,11.0
+ -Wl,-platform_version,macos,11.0,11.0
-fPIC
-fPIC
)