Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config propagate profiling fix fr...



details:   https://anonhg.NetBSD.org/src/rev/4305963dbf72
branches:  trunk
changeset: 447214:4305963dbf72
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 04 18:36:50 2019 +0000

description:
propagate profiling fix from gcc.old:
g++ needs the profiling libraries for stdc++ and math to work.

diffstat:

 external/gpl3/gcc/dist/gcc/config/netbsd.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 3bbbfc48dc3d -r 4305963dbf72 external/gpl3/gcc/dist/gcc/config/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd.h        Fri Jan 04 18:35:45 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd.h        Fri Jan 04 18:36:50 2019 +0000
@@ -145,6 +145,9 @@
 #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"



Home | Main Index | Thread Index | Old Index