git: 094d83d51127 - main - devel/benchmark: Mark PIE_UNSAFE

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:46:22 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=094d83d511276d448fafa3791bc4834889175220

commit 094d83d511276d448fafa3791bc4834889175220
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:31:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:31:55 +0000

    devel/benchmark: Mark PIE_UNSAFE
    
    c++: error: argument unused during compilation: '-pie' [-Werror,-Wunused-command-line-argument]
    ninja: build stopped: subcommand failed.
    
    Approved by:    portmgr (blanket)
---
 devel/benchmark/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/benchmark/Makefile b/devel/benchmark/Makefile
index b2167a09d81d..0ff545af6c75 100644
--- a/devel/benchmark/Makefile
+++ b/devel/benchmark/Makefile
@@ -24,6 +24,7 @@ CMAKE_TESTING_ARGS=	-DGOOGLETEST_PATH=${WRKSRC_googletest}
 
 CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
 CXXFLAGS_gcc=	-Wno-stringop-truncation
+PIE_UNSAFE=	yes
 
 BINARY_ALIAS=	git=false