Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/gdb Fix tools build on Solaris with MKCROSSGDB=YES.
details: https://anonhg.NetBSD.org/src/rev/254c9533840e
branches: trunk
changeset: 754702:254c9533840e
user: hans <hans%NetBSD.org@localhost>
date: Sat May 08 23:18:44 2010 +0000
description:
Fix tools build on Solaris with MKCROSSGDB=YES.
diffstat:
tools/gdb/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 94fefb519ff8 -r 254c9533840e tools/gdb/Makefile
--- a/tools/gdb/Makefile Sat May 08 22:25:11 2010 +0000
+++ b/tools/gdb/Makefile Sat May 08 23:18:44 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/12/23 20:17:13 mrg Exp $
+# $NetBSD: Makefile,v 1.17 2010/05/08 23:18:44 hans Exp $
.include <bsd.own.mk>
@@ -33,6 +33,15 @@
bash_cv_func_strcoll_broken=no \
bash_cv_must_reinstall_sighandlers=no
+# Recent versions of Solaris have ncurses, but they hide the lib in an
+# odd directory. Prevent configure from finding the ncurses headers,
+# Solaris curses is sufficient.
+.if ${BUILD_OSTYPE} == "SunOS"
+CONFIGURE_ENV+= ac_cv_header_ncurses_h=no \
+ ac_cv_header_ncurses_ncurses_h=no \
+ ac_cv_header_ncurses_term_h=no
+.endif
+
# Disable sim unless it's known to work (configure's default is to
# enable sim if supported).
CONFIGURE_ARGS_SIM=
Home |
Main Index |
Thread Index |
Old Index