Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 14:00:55 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8e3d0badd78a - main - science/linearelasticity: fix build on powerpc
Message-ID:  <202412311400.4BVE0twb053870@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e3d0badd78a3a27aa37c52a0fa3318088d4edcb

commit 8e3d0badd78a3a27aa37c52a0fa3318088d4edcb
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-12-31 12:18:27 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-12-31 14:00:07 +0000

    science/linearelasticity: fix build on powerpc
    
    ld: error: undefined reference due to --no-allow-shlib-undefined: sqrt
---
 science/linearelasticity/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/linearelasticity/Makefile b/science/linearelasticity/Makefile
index 127a2a37c42b..477a94a4db2f 100644
--- a/science/linearelasticity/Makefile
+++ b/science/linearelasticity/Makefile
@@ -18,6 +18,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	ISCDtoolbox
 
 CFLAGS+=	-I${LOCALBASE}/include/ISCD
+LDFLAGS_powerpc=	-lm
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS EXAMPLES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311400.4BVE0twb053870>