aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-25 22:13:53 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-25 22:13:53 +0000
commitc8623080cb217735f4f7460186e9a1ad910b4a3b (patch)
tree595d432ebb57f79ae1d3f69802ea5236beb77b29 /gdb/configure.tgt
parenta6a5d3492796f75b03b92f86226b2741ee468f0d (diff)
downloadgdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.zip
gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.gz
gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.bz2
CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt24
1 files changed, 9 insertions, 15 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 06dda6c..6d82d52 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -295,33 +295,27 @@ tic80-*-*) gdb_target=tic80
vax-*-*) gdb_target=vax ;;
v850-*-*) gdb_target=v850
- case $gdb_host in
- windows)
- CONFIG_OBS="${CONFIG_OBS} v850ice.o"
- LIBS="${LIBS} necmsg.lib" ;;
- cygwin*)
+ case ${gdb_host}-${enable_gdbtk-no} in
+ cygwin*-yes )
CONFIG_OBS="${CONFIG_OBS} v850ice.o" ;;
+ * ) ;;
esac
;;
# start-sanitize-v850e
v850e-*-*) gdb_target=v850
gdb_target_cpu=v850
- case $gdb_host in
- windows)
- CONFIG_OBS="${CONFIG_OBS} v850ice.o"
- LIBS="${LIBS} v850.lib" ;;
- cygwin*)
+ case "${gdb_host}-${enable_gdbtk-no}" in
+ cygwin*-yes )
CONFIG_OBS="${CONFIG_OBS} v850ice.o" ;;
+ * ) ;;
esac
;;
v850ea-*-*) gdb_target=v850
gdb_target_cpu=v850
- case $gdb_host in
- windows)
- CONFIG_OBS="${CONFIG_OBS} v850ice.o"
- LIBS="${LIBS} v850.lib" ;;
- cygwin*)
+ case "${gdb_host}-${enable_gdbtk-no}" in
+ cygwin*-yes )
CONFIG_OBS="${CONFIG_OBS} v850ice.o" ;;
+ * ) ;;
esac
;;
# end-sanitize-v850e