elftoolchain
This commit is contained in:
parent
58d098dfae
commit
a9a3077633
16 changed files with 260 additions and 14 deletions
14
patches/elftoolchain/cxxfilt.patch
Normal file
14
patches/elftoolchain/cxxfilt.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Using --as-needed here eliminates the libelf linkage,
|
||||
which results in undefined symbols at runtime.
|
||||
|
||||
--- a/cxxfilt/Makefile
|
||||
+++ b/cxxfilt/Makefile
|
||||
@@ -8,7 +8,7 @@ SRCS= cxxfilt.c
|
||||
WARNS?= 6
|
||||
|
||||
DPADD= ${LIBELFTC} ${LIBELF}
|
||||
-LDADD= -lelftc -lelf
|
||||
+LDADD= -Wl,--no-as-needed -lelftc -lelf
|
||||
|
||||
MAN1= c++filt.1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue