blob: 361e6bd3a9866db0b7e194a19885859b78e9dffb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SYSTEMHEADERS:darwin21 = "${SDKPATHNATIVE}/runtime/usr/include/"
LINKER_HASH_STYLE:darwin21 = ""
EXTRA_OECONF:remove:darwin21 = "--enable-clocale=gnu"
EXTRA_OECONF:remove:darwin21 = "--enable-clocale=generic"
EXTRA_OECONF:remove:darwin21 = "--enable-initfini-array"
EXTRA_OECONF:append:darwin21 = " --disable-initfini-array"
LTO:darwin21 = "--disable-lto"
EXTRA_OECONF:remove:darwin21 = "--enable-lto"
EXTRA_OECONF:append:darwin21 = " --disable-lto"
DEPENDS:append:darwin21 = " nativesdk-osx-runtime"
do_configure:prepend:darwin21 () {
export ARCH_FLAGS_FOR_TARGET=" $ARCH_FLAGS_FOR_TARGET \
-L${SDKPATHNATIVE}/usr/lib \
-L${SDKPATHNATIVE}/runtime/usr/lib \
-L${SDKPATHNATIVE}/runtime/usr/lib/system \
"
}
|