diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2023-03-15 12:44:54 +0100 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2023-03-15 12:44:54 +0100 |
commit | a92961d7fda3210aef4cff9e90d9bfb5a68754f1 (patch) | |
tree | d1471be36cd05dd1f8c1b94b0f36b8b5371b2f60 /games | |
parent | multimedia/libdvdread: update MASTER_SITES to use VideoLAN's CDN (diff) |
games/flightgear: fix build with lld 15 on i386
Diffstat (limited to 'games')
-rw-r--r-- | games/flightgear/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile index bafb9d97211b..e14d1c011467 100644 --- a/games/flightgear/Makefile +++ b/games/flightgear/Makefile @@ -57,4 +57,10 @@ post-patch: # Avoid conflict with C++20 <version> - used version file is flightgear-version @${RM} ${WRKSRC}/version -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150 +LDFLAGS_i386+= -Wl,--no-check-dynamic-relocations +.endif + +.include <bsd.port.post.mk> |