From 1e92785005ce880a5fac9d022f05cdcff91c3091 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 21 Jun 2020 20:54:24 +0930 Subject: PR26132, ar creates invalid libraries for some targets with plugins enabled PR 26132 * configure.ac: Disable plugins by default for some targets. * plugin.c: Comment typo fix. * configure: Regenerate. --- bfd/configure | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'bfd/configure') diff --git a/bfd/configure b/bfd/configure index 492cbc3..c826751 100755 --- a/bfd/configure +++ b/bfd/configure @@ -12400,6 +12400,30 @@ fi +case "${target}" in + vax-*-netbsdelf*) ;; + *-*-*aout* | i[3-7]86-*-bsd* | i[3-7]86-*-msdos* | ns32k-*-* | \ + pdp11-*-* | vax-*-*bsd*) + if test "$plugins" = "yes"; then + if test "${enable_plugins+set}" = set; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5 +$as_echo "$as_me: WARNING: Enabling plugins for AOUT is experimental" >&2;} + else + plugins=no + fi + fi ;; + *-*-*vms* | \ + powerpc*-*-aix* | powerpc-*-beos* | powerpc-*-macos* | rs6000-*-*) + if test "$plugins" = "yes"; then + if test "${enable_plugins+set}" = set; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&5 +$as_echo "$as_me: WARNING: Enabling plugins may result in ar creating non-standard archives for ${target}" >&2;} + else + plugins=no + fi + fi ;; +esac + if test "$plugins" = "yes"; then PLUGINS_TRUE= PLUGINS_FALSE='#' -- cgit v1.1