Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 758167 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-devel/binutils-apple/binutils-apple-11.3.1.ebuild (-1 / +4 lines)
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
- 

Return to bug 758167