mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04: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
1 changed files with 11 additions and 0 deletions
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…
Add table
Reference in a new issue