Module Name: src
Committed By: christos
Date: Fri Jan 4 18:36:50 UTC 2019
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd.h
Log Message:
propagate profiling fix from gcc.old:
g++ needs the profiling libraries for stdc++ and math to work.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 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.22 src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.23
--- src/external/gpl3/gcc/dist/gcc/config/netbsd.h:1.22 Sat Feb 3 14:27:15 2018
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd.h Fri Jan 4 13:36:50 2019
@@ -145,6 +145,9 @@ along with GCC; see the file COPYING3.
#undef LIB_SPEC
#define LIB_SPEC NETBSD_LIB_SPEC
+#define LIBSTDCXX_PROFILE "stdc++_p"
+#define MATH_LIBRARY_PROFILE "m_p"
+
#if 0 // XXXMRG
#undef STATIC_LIBASAN_LIBS
#define STATIC_LIBASAN_LIBS "-lstdc++ -lpthread"