git: 2d677b559265 - main - benchmarks/stress-ng: fix build on powerpc by disabling optimizations

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 11 Feb 2024 11:49:58 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d677b5592659a285ab8b6b4bd8c70c326cc6b36

commit 2d677b5592659a285ab8b6b4bd8c70c326cc6b36
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-02-09 15:52:27 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-02-11 11:48:56 +0000

    benchmarks/stress-ng: fix build on powerpc by disabling optimizations
    
    LLVM ERROR: out of memory
---
 benchmarks/stress-ng/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/benchmarks/stress-ng/Makefile b/benchmarks/stress-ng/Makefile
index fbaca27db7ce..da544133e849 100644
--- a/benchmarks/stress-ng/Makefile
+++ b/benchmarks/stress-ng/Makefile
@@ -44,6 +44,7 @@ XXHASH_LDFLAGS=	-lxxhash
 
 GPU_USES=	gl
 
+CFLAGS_powerpc=	-O0
 MAKE_ARGS=	VERBOSE=1
 
 .include <bsd.port.options.mk>