Lines 79-84
src_prepare() {
Link Here
|
79 |
mkdir -p include/mach-o || die |
79 |
mkdir -p include/mach-o || die |
80 |
# never present because it's private |
80 |
# never present because it's private |
81 |
cp ../../${DYLD}/include/mach-o/dyld_priv.h include/mach-o || die |
81 |
cp ../../${DYLD}/include/mach-o/dyld_priv.h include/mach-o || die |
|
|
82 |
# TARGET_OS_BRIDGE is undefined in TargetConditionals.h of newer MacOSX.sdk. |
83 |
# We don't target BridgeOS. Disable it to avoid errors when clang adds: |
84 |
# -Werror,-Wundef-prefix=TARGET_OS_ |
85 |
sed -i -e 's/#if TARGET_OS_BRIDGE/#if 0/' include/mach-o/dyld_priv.h |
82 |
|
86 |
|
83 |
local VER_STR="\"@(#)PROGRAM:ld PROJECT:${LD64} (Gentoo ${PN}-${PVR})\\n\"" |
87 |
local VER_STR="\"@(#)PROGRAM:ld PROJECT:${LD64} (Gentoo ${PN}-${PVR})\\n\"" |
84 |
echo "char ldVersionString[] = ${VER_STR};" > version.cpp |
88 |
echo "char ldVersionString[] = ${VER_STR};" > version.cpp |
85 |
- |
|
|