ports/cad/gplcver/files/patch-src_makefile.freebsd
Robert Clausecker 00fb86f229 cad/gplcver: fix build on recent FreeBSD
The option -export-dynamic is a linker option not (no longer?)
understood by the compiler; pass -rdynamic to the compiler to have it
pass -export-dynamic to the linker instead.
2024-10-28 13:42:03 +01:00

11 lines
231 B
Text

--- src/makefile.freebsd.orig 2024-10-26 15:44:05 UTC
+++ src/makefile.freebsd
@@ -45,7 +45,7 @@ LD=ld
# select loader
LD=ld
# needed for dynamic PLI loading
-LFLAGS=-export-dynamic
+LFLAGS=-rdynamic
# system libs
LIBS= -lm