diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-08-22 06:36:10 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-08-22 06:36:10 +0000 |
commit | 0103476eab912b5936ed9efec32cb1048bc2db5d (patch) | |
tree | dd9673cbafa242354361f61bef7f04300c177b70 /games/veloren | |
parent | 3bd3ecf94eddc686d846f8a1165a18f2339f0754 (diff) | |
download | ports-0103476eab912b5936ed9efec32cb1048bc2db5d.tar.gz ports-0103476eab912b5936ed9efec32cb1048bc2db5d.zip |
games/veloren: unbreak on GCC architectures after r545731
cc1: error: unrecognized command line option "-fuse-ld=lld"
Notes
Notes:
svn path=/head/; revision=545740
Diffstat (limited to 'games/veloren')
-rw-r--r-- | games/veloren/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/veloren/Makefile b/games/veloren/Makefile index cfe44ea71c42..f2506e9bcbc6 100644 --- a/games/veloren/Makefile +++ b/games/veloren/Makefile @@ -34,7 +34,6 @@ GL_COMMIT= 8f8b20c9139fbe1ddfb1937e3264e592d42f4fd0 GL_TUPLE= veloren:auth:b943c85e4a38f5ec60cd18c34c73097640162bfe:authcommon \ veloren:conrod:1ab6eccf94b16a8977a3274b31d4dbfef9cf9a30:conrod_core \ veloren:specs-idvs:fcb0b2306b571f62f9f85d89e79e087454d95efd:specsidvs -LDFLAGS+= -fuse-ld=lld INSTALLS_ICONS= yes PLIST_FILES= bin/${PORTNAME}-chat-cli \ bin/${PORTNAME}-server-cli \ @@ -42,6 +41,11 @@ PLIST_FILES= bin/${PORTNAME}-chat-cli \ share/icons/hicolor/192x192/apps/${PORTNAME}.png PORTDATA= * +.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld +# veloren_voxygen*rcgu* has 71718 section headers, breaking old GNU ld.bfd in base +LDFLAGS+= -fuse-ld=lld +.endif + DESKTOP_ENTRIES="Veloren (client)" \ "" \ "${PORTNAME}" \ |