summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2002-11-29 21:38:33 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2002-11-29 21:38:33 +0000
commit72d7009b353e487a4f3b9a2f29a5eea330576e76 (patch)
tree239b2ee5c9faa32574eedfcb4f25a5558b9f46c6 /configure.in
parentdf0b3df2541f900aa21cb34959942673cf7eb43f (diff)
downloadgdb-72d7009b353e487a4f3b9a2f29a5eea330576e76.tar.gz
2002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>
(Continuing slow-motion replay) * configure.in (v810*): Remove special setting of tools. * configure: Add support for extra required flags for ar or nm. * configure.in (aix4.3+): Use above support for target-specific issues, rather than using config/mt-aix43.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 21b86fde476..10749a80d12 100644
--- a/configure.in
+++ b/configure.in
@@ -1118,10 +1118,9 @@ if test -n "${host_makefile_frag}" ; then
host_makefile_frag=mh-frag
fi
+extra_arflags_for_target=
+extra_nmflags_for_target=
case "${target}" in
- v810*)
- target_makefile_frag="config/mt-v810"
- ;;
i[3456]86-*-netware*)
target_makefile_frag="config/mt-netware"
;;
@@ -1132,7 +1131,11 @@ case "${target}" in
target_makefile_frag="config/mt-linux"
;;
*-*-aix4.[3456789]* | *-*-aix[56789].*)
- target_makefile_frag="config/mt-aix43"
+ # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
+ # commands to handle both 32-bit and 64-bit objects. These flags are
+ # harmless if we're using GNU nm or ar.
+ extra_arflags_for_target=" -X32_64"
+ extra_nmflags_for_target=" -B -X32_64"
;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
target_makefile_frag="config/mt-wince"