aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sun4sol2.mh
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config/sun4sol2.mh')
-rw-r--r--gdb/config/sun4sol2.mh11
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/config/sun4sol2.mh b/gdb/config/sun4sol2.mh
index d90e695..9ea2174 100644
--- a/gdb/config/sun4sol2.mh
+++ b/gdb/config/sun4sol2.mh
@@ -20,10 +20,15 @@ REGEX1=regex.o
# new terminfo interface and latest terminal descriptions.
TERMCAP=-ltermlib
-# SVR4 puts the BSD compatible install in /usr/ucb.
-INSTALL = /usr/ucb/install -c
+# Solaris-2 makes `install' optional in the Berkeley compatability pkg.
+# cp will do fine.
+INSTALL = cp
+# If you are compiling with Sun's compiler, add the -xs option to CC
+# (e.g. `make CC="cc -xs"').
# Sun's compilers require the -xs option to produce debug information
# in the final linked executable. Otherwise they leave it in the .o
# files only, with undocumented pointers to it in the linked executable.
-MH_CFLAGS=-xs
+# This is commented out because we don't assume that the Sun compiler
+# is in use.
+#MH_CFLAGS=-xs