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:
parent
5bf71a6189
commit
00fb86f229
11
cad/gplcver/files/patch-src_makefile.freebsd
Normal file
11
cad/gplcver/files/patch-src_makefile.freebsd
Normal 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
|
Loading…
Reference in New Issue
Block a user