git: 4307d8199285 - main - www/trunk: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 12 Jan 2025 21:43:47 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4307d81992851db907798daeebc062f9e0ea102c

commit 4307d81992851db907798daeebc062f9e0ea102c
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-12 11:02:17 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:41:50 +0000

    www/trunk: fix build on powerpc
    
      = note: ld: error: /wrkdirs/usr/ports/www/trunk/work/target/release/deps/libcrates_io_api-9946b7cb53ff3011.rlib(crates_io_api-9946b7cb53ff3011.crates_io_api.a4b984a955783cb7-cgu.0.rcgu.o): Invalid attribute group entry (Producer: 'LLVM19.1.1-rust-1.83.0-stable' Reader: 'LLVM 18.1.6')
              cc: error: linker command failed with exit code 1 (use -v to see invocation)
---
 www/trunk/Makefile | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/www/trunk/Makefile b/www/trunk/Makefile
index a277ba131f6a..e1b54e9c6b7d 100644
--- a/www/trunk/Makefile
+++ b/www/trunk/Makefile
@@ -500,10 +500,4 @@ OPENSSLLIB=	/usr/lib
 
 PLIST_FILES=	bin/${PORTNAME}
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
-LTO_UNSAFE=	yes
-.endif
-
 .include <bsd.port.mk>