commit: 8bc6385fb4e8d6a92a222971fa775ab42e439017
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 8 13:28:20 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 8 13:28:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc6385f
app-forensics/aflplusplus: ensure flags work for both GCC and Clang
Clang gets invoked during the build, so make sure we strip out flags
which don't work for it too.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-forensics/aflplusplus/aflplusplus-4.32c.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app-forensics/aflplusplus/aflplusplus-4.32c.ebuild
b/app-forensics/aflplusplus/aflplusplus-4.32c.ebuild
index 89c0d44ae25c..1024936d63c9 100644
--- a/app-forensics/aflplusplus/aflplusplus-4.32c.ebuild
+++ b/app-forensics/aflplusplus/aflplusplus-4.32c.ebuild
@@ -79,6 +79,9 @@ src_compile() {
# bug #945258
append-cflags -std=gnu17
+ strip-unsupported-flags
+ CC=clang CXX=clang++ strip-unsupported-flags
+
mymake
}