mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
net-p2p/mldonkey: fix build on powerpc64 elfv2
Clang can't build this port on powerpc64: ld: error: build/client.a(commonShared.o):(function camlCommonShared__ni_2211: .text+0xCE): relocation R_PPC64_TOC16_DS out of range: 121936 is not in [-32768, 32767] ld: error: build/core.a(donkeyOptions.o):(function camlDonkeyOptions__max_allowed_connected_servers_1641: .text+0x1A): relocation R_PPC64_TOC16_DS out of range: 69120 is not in [-32768, 32767] ld: error: build/cdk.a(http_lexer.o):(function camlHttp_lexer__get_args_1205: .text+0x12): relocation R_PPC64_TOC16_DS out of range: 203032 is not in [-32768, 32767] PR: 243221 Approved by: danfe (maintainer)
This commit is contained in:
parent
e6cfac4836
commit
fdaa50f481
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=523822
@ -95,6 +95,10 @@ ALL_TARGET+= \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == powerpc64
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${SED} \
|
||||
-e "s|%%PREFIX%%|${PREFIX}|" \
|
||||
|
Loading…
Reference in New Issue
Block a user