git: 00fb86f229a1 - main - cad/gplcver: fix build on recent FreeBSD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Oct 2024 12:44:22 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=00fb86f229a1f1203a363c5341121597586068f5 commit 00fb86f229a1f1203a363c5341121597586068f5 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2024-10-26 15:47:04 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-10-28 12:42:03 +0000 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. --- cad/gplcver/files/patch-src_makefile.freebsd | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cad/gplcver/files/patch-src_makefile.freebsd b/cad/gplcver/files/patch-src_makefile.freebsd new file mode 100644 index 000000000000..8136213e4b88 --- /dev/null +++ b/cad/gplcver/files/patch-src_makefile.freebsd @@ -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