git: 8e3d0badd78a - main - science/linearelasticity: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 14:00:55 UTC
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