From 8df646fd8bdcfcffb675b346d1d4406bcb151701 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 12 Aug 1996 17:19:18 +0000 Subject: [PATCH] For PowerPC targets, build libraries with -mrelocatable-lib and -mno-eabi. --- config/mt-ppc | 2 ++ configure.in | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 config/mt-ppc diff --git a/config/mt-ppc b/config/mt-ppc new file mode 100644 index 00000000000..148f897f430 --- /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 80f1456e8de..30412c4cdcc 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= -- 2.30.2