emulators/tuxnes: set LLD_UNSAFE on i386
This port builds and runs a build tool, which segfaults when lld is the i386 system linker: cc -O2 -pipe -fstack-protector -fno-strict-aliasing -pipe -Wall -I/usr/local/include -I/usr/local/include -fstack-protector -o comptbl comptbl.o -lm -lz -lXext -lXpm -lSM -lICE -lX11 -L/usr/local/lib ./comptbl gmake[1]: *** [Makefile:414: compdata] Segmentation fault (core dumped) PR: 214864 Approved by: portmgr (lld blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
98239e9cea
commit
bc15797fb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480740
@ -30,6 +30,10 @@ DESKTOP_ENTRIES="TuxNES" "" "${PREFIX}/share/pixmaps/tuxnes.xpm" \
|
||||
.if ${COMPILER_TYPE} == "clang"
|
||||
CPPFLAGS+= -no-integrated-as
|
||||
.endif
|
||||
.if ${ARCH} == "i386"
|
||||
# Build tool "compdata" segfaults when linked with lld
|
||||
LLD_UNSAFE= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
Loading…
Reference in New Issue
Block a user