HomeFreeBSD

devel/libunwind: use base system unwind.h

Description

devel/libunwind: use base system unwind.h

  • Add --disable-cxx-exceptions so libunwind does not implement the _Unwind_* API and does not use its internal unwind.h. The base system libgcc_s provides this API. This was already the upstream default for most architectures.
  • Add --disable-unwind-header to prevent installation of unwind.h. Instead, install an unwind.h that forwards to the base system unwind.h, but not on FreeBSD 14 where all implementations of unwind.h (base, lang/gcc*, and devel/llvm*) are compatible.

PR: 263370
Approved by: sunpoet

(cherry picked from commit 975a5c1057579603c4041c2b8e3ac0933ea0eb89)

Details

Provenance
tijlAuthored on Apr 27 2022, 4:51 PM
Parents
R11:45542e4f309d: devel/libunwind: drop unnecessary CFLAGS_powerpc64
Branches
Unknown
Tags
Unknown