For PowerPC targets, build libraries with -mrelocatable-lib and -mno-eabi.
authorMichael Meissner <gnu@the-meissners.org>
Mon, 12 Aug 1996 17:19:18 +0000 (17:19 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Mon, 12 Aug 1996 17:19:18 +0000 (17:19 +0000)
config/mt-ppc [new file with mode: 0644]
configure.in

diff --git a/config/mt-ppc b/config/mt-ppc
new file mode 100644 (file)
index 0000000..148f897
--- /dev/null
@@ -0,0 +1,2 @@
+CFLAGS_FOR_TARGET = $(CFLAGS) -mrelocatable-lib -mno-eabi
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -mrelocatable-lib -mno-eabi
index 80f1456e8de35fa98e38f71a71a7f7132756d370..30412c4cdcca01ffe434ff18b3831dac7cd81f80 100644 (file)
@@ -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=