From: Michael Meissner Date: Mon, 12 Aug 1996 17:19:18 +0000 (+0000) Subject: For PowerPC targets, build libraries with -mrelocatable-lib and -mno-eabi. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8df646fd8bdcfcffb675b346d1d4406bcb151701;p=binutils-gdb.git For PowerPC targets, build libraries with -mrelocatable-lib and -mno-eabi. --- 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=