Module Name: src
Committed By: christos
Date: Wed Oct 22 16:52:23 UTC 2014
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd.h
Log Message:
Add libraries the statically linked address sanitizer library needs.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gcc/dist/gcc/config/netbsd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.11 src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.12
--- src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.11 Thu May 29 03:05:10 2014
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd.h Wed Oct 22 12:52:23 2014
@@ -144,6 +144,8 @@ along with GCC; see the file COPYING3.
#undef LIB_SPEC
#define LIB_SPEC NETBSD_LIB_SPEC
+#define ADD_STATIC_LIBASAN_LIBS -lstdc++ -lpthread
+
/* Pass -cxx-isystem to cc1/cc1plus. */
#define NETBSD_CC1_AND_CC1PLUS_SPEC \
"%{cxx-isystem}"