ports/math/openblas/files/patch-exports_Makefile
Robert Clausecker 2c83bd52e5 math/openblas: Revert "update to 0.3.24"
On some amd64 CPUs, this change broke py-scipy during configure,
and octave at runtime.  In the end, octave kills the package
builders.

This reverts commit c45681ef50.

Approved by:	portmgr (antoine)
PR:		273219
MFH:		2023Q4
2023-10-10 13:18:06 -04:00

11 lines
406 B
Text

--- exports/Makefile.orig 2019-08-11 21:23:27 UTC
+++ exports/Makefile
@@ -184,7 +184,7 @@ else
endif
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
-Wl,--whole-archive $< -Wl,--no-whole-archive \
- $(FEXTRALIB) $(EXTRALIB)
+ -Wl,-soname,$(LIBSONAME) $(FEXTRALIB) $(EXTRALIB)
$(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
rm -f linktest