install a shared library version, now that we know how to do it.
This commit is contained in:
parent
9d5ff525cf
commit
9017a279de
8
external/gpl3/gcc/lib/libasan/Makefile
vendored
8
external/gpl3/gcc/lib/libasan/Makefile
vendored
@ -26,7 +26,7 @@ ASAN_SRCS= \
|
||||
asan_preinit.cc
|
||||
|
||||
INTERCEPTION_SRCS= \
|
||||
interception_linux.cc \
|
||||
interception_netbsd.cc \
|
||||
interception_type_test.cc
|
||||
|
||||
SANITIZER_SRCS= \
|
||||
@ -45,8 +45,14 @@ SANITIZER_SRCS= \
|
||||
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>
|
||||
|
2
external/gpl3/gcc/lib/libasan/shlib_version
vendored
Normal file
2
external/gpl3/gcc/lib/libasan/shlib_version
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
major=0
|
||||
minor=0
|
Loading…
Reference in New Issue
Block a user