math/levmar: fix build on armv7
GNU ld supports neither -z relro nor -z norelro on armv7. Unfortunately <bsd.lib.mk> insists on adding either to the link. Work around this issue by using base ld for the link. MFH: 2025Q2 Approved by: portmgr (build fix blanket)
This commit is contained in:
parent
c54ab7ee80
commit
3cc875416c
@ -26,6 +26,10 @@ OPENBLAS_USES= blaslapack:openblas
|
|||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
# ld.bfd supports neither -z relro nor -z norelro on armv7
|
||||||
|
BINUTILS_NO_MAKE_ENV_armv7= LD
|
||||||
|
BINUTILS_NO_MAKE_ENV= ${BINUTILS_NO_MAKE_ENV_${ARCH}}
|
||||||
|
|
||||||
PORTDOCS= README.txt
|
PORTDOCS= README.txt
|
||||||
PORTEXAMPLES= lmdemo.c Makefile.demo
|
PORTEXAMPLES= lmdemo.c Makefile.demo
|
||||||
PLIST_FILES= include/levmar.h \
|
PLIST_FILES= include/levmar.h \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user