blob: a0026ebed50766a2a63840f722c4c9788b7d834f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
LD=ld64.lld
# This is the sort of equivalent of -Wl,--as-needed
# It's already set in profiles/prefix/darwin, but profiles/features/llvm
# appends --as-needed to it, so here we set it back to the previous value
LDFLAGS="-Wl,-dead_strip_dylibs"
# Several packages fail to build without this
lt_cv_apple_cc_single_mod=yes
|