Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/lib/libasan install a shared library versi...
details: https://anonhg.NetBSD.org/src/rev/3b4794d49e27
branches: trunk
changeset: 333172:3b4794d49e27
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 22 00:16:29 2014 +0000
description:
install a shared library version, now that we know how to do it.
diffstat:
external/gpl3/gcc/lib/libasan/Makefile | 8 +++++++-
external/gpl3/gcc/lib/libasan/shlib_version | 2 ++
2 files changed, 9 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 723eb33d89c3 -r 3b4794d49e27 external/gpl3/gcc/lib/libasan/Makefile
--- a/external/gpl3/gcc/lib/libasan/Makefile Wed Oct 22 00:15:16 2014 +0000
+++ b/external/gpl3/gcc/lib/libasan/Makefile Wed Oct 22 00:16:29 2014 +0000
@@ -26,7 +26,7 @@
asan_preinit.cc
INTERCEPTION_SRCS= \
- interception_linux.cc \
+ interception_netbsd.cc \
interception_type_test.cc
SANITIZER_SRCS= \
@@ -45,8 +45,14 @@
sanitizer_symbolizer_linux.cc \
sanitizer_win.cc
+# The linux build does this to avoid preinit sections on shared libraries
+CSHLIBFLAGS+= -DPIC
+
LIB= asan
SRCS= ${ASAN_SRCS} ${INTERCEPTION_SRCS} ${SANITIZER_SRCS}
CPPFLAGS+=-I${ASAN}/include -I${ASAN} -I${NETBSDSRCDIR}/lib/libexecinfo
+LDADD+= -lstdc++ -lpthread
+DPADD+= ${LIBSTDCXX} ${LIBPTHREAD}
+
.include <bsd.lib.mk>
diff -r 723eb33d89c3 -r 3b4794d49e27 external/gpl3/gcc/lib/libasan/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libasan/shlib_version Wed Oct 22 00:16:29 2014 +0000
@@ -0,0 +1,2 @@
+major=0
+minor=0
Home |
Main Index |
Thread Index |
Old Index