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 80f1456..30412c4 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=