[Bug 270958] math/trlan: fails to build when base built WITH_LLVM_BINUTILS

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Apr 2023 17:42:06 UTC

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
             Status|New                         |Open

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
Looks like this just needs

diff --git a/math/trlan/Makefile b/math/trlan/Makefile
index 0e041ececc92..5eb786339df8 100644
--- a/math/trlan/Makefile
+++ b/math/trlan/Makefile
@@ -48,7 +48,7 @@ do-build:
        @${ECHO_CMD} "Building static archive ..."
        @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS}
-       @${STRIP_CMD} -x -o ${WRKDIR}/libtrlan.a ${WRKSRC}/libtrlan.a
+       @${STRIP_CMD} --strip-unneeded -o ${WRKDIR}/libtrlan.a
        @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS}
        @${ECHO_CMD} "Building shared library ..."

You are receiving this mail because:
You are the assignee for the bug.