1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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.
This commit is contained in:
Robert Clausecker 2024-10-26 17:47:04 +02:00
parent 5bf71a6189
commit 00fb86f229

View File

@ -0,0 +1,11 @@
--- 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