diff options
| author | Dima Panov <fluffy@FreeBSD.org> | 2025-10-29 17:07:36 +0300 |
|---|---|---|
| committer | Dima Panov <fluffy@FreeBSD.org> | 2025-10-29 17:10:48 +0300 |
| commit | 4bb07c7a9aa9d67815b56e2a95ac5864702a974f (patch) | |
| tree | fee0d37556d3056efefb0c658d9e7fe51588fbb0 | |
| parent | */*: bump port revision after electron37 update (e257686c2554) (diff) | |
devel/libbacktrace: pass -fPIC to CFLAGS (+)
This need to unbreak build Boost and consumers as relocable objects
ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in /usr/local/lib/libbacktrace.a(posix.o)
>>> referenced by posix.o:(backtrace_close) in archive /usr/local/lib/libbacktrace.a
Approved by: portmgr blanket (trivial fix build)
| -rw-r--r-- | devel/libbacktrace/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/libbacktrace/Makefile b/devel/libbacktrace/Makefile index faa98a18070c..97812f3e0155 100644 --- a/devel/libbacktrace/Makefile +++ b/devel/libbacktrace/Makefile @@ -1,5 +1,6 @@ PORTNAME= libbacktrace DISTVERSION= 1.0-20221130 # from README: This is version 1.0. It is likely that this will always be version 1.0. +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -19,6 +20,8 @@ GH_TAGNAME= 14818b7 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared +CFLAGS+= -fPIC + INSTALL_TARGET= install-strip PLIST_FILES= include/backtrace-supported.h \ |
