aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-08-12 17:19:18 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-08-12 17:19:18 +0000
commit8df646fd8bdcfcffb675b346d1d4406bcb151701 (patch)
tree26bc09c73d7cd06722580fee60efcd46e1fee328
parent8633ce7a0203207a8b4f821f11db5d4db55364d1 (diff)
downloadgdb-8df646fd8bdcfcffb675b346d1d4406bcb151701.zip
gdb-8df646fd8bdcfcffb675b346d1d4406bcb151701.tar.gz
gdb-8df646fd8bdcfcffb675b346d1d4406bcb151701.tar.bz2
For PowerPC targets, build libraries with -mrelocatable-lib and -mno-eabi.
-rw-r--r--config/mt-ppc2
-rw-r--r--configure.in6
2 files changed, 8 insertions, 0 deletions
diff --git a/config/mt-ppc b/config/mt-ppc
new file mode 100644
index 0000000..148f897
--- /dev/null
+++ b/config/mt-ppc
@@ -0,0 +1,2 @@
+CFLAGS_FOR_TARGET = $(CFLAGS) -mrelocatable-lib -mno-eabi
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -mrelocatable-lib -mno-eabi
diff --git a/configure.in b/configure.in
index 80f1456..30412c4 100644
--- a/configure.in
+++ b/configure.in
@@ -214,6 +214,12 @@ case "${target}" in
v810*) target_makefile_frag=config/mt-v810 ;;
i[345]86-*-netware*) target_makefile_frag=config/mt-netware ;;
powerpc-*-netware*) target_makefile_frag=config/mt-netware ;;
+ powerpc*-*-eabi* | \
+ powerpc*-*-elf* | \
+ powerpc*-*-linux* | \
+ powerpc*-*-rtem* | \
+ powerpc*-*-sysv* | \
+ powerpc*-*-solaris*) target_makefile_frag=config/mt-ppc ;;
esac
skipdirs=