mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Build compiler-rt against libunwind, not libcxxrt
Parts of compiler-rt are also built for libgcc_eh and libgcc_s, and
these were already pointing to the libunwind unwind.h. For the sake of
consistency, also build compiler-rt itself against the libunwind
unwind.h, not the libcxxrt one.
MFC after: 3 days
(cherry picked from commit 7ecd99fa42)
This commit is contained in:
parent
93779214f1
commit
4c622a8f05
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ WARNS?= 2
|
|||
CFLAGS+= ${PICFLAG}
|
||||
CFLAGS+= -fvisibility=hidden
|
||||
CFLAGS+= -DVISIBILITY_HIDDEN
|
||||
CFLAGS+= -I${SRCTOP}/contrib/libcxxrt
|
||||
CFLAGS+= -I${SRCTOP}/contrib/llvm-project/libunwind/include
|
||||
|
||||
# gcc has incompatible internal declarations for __divtc3 and __multc3, but has
|
||||
# no option to silence its warning, so make warnings non-fatal.
|
||||
|
|
|
|||
Loading…
Reference in a new issue