binutils/binutils-2.21.51.0.6-gold-plugins.patch
2011-03-08 16:24:53 +00:00

41 lines
1.1 KiB
Diff

diff -cpr ../binutils-2.21.51.0.6.orig/gold/configure gold/configure
*** ../binutils-2.21.51.0.6.orig/gold/configure 2011-03-08 15:58:55.297802999 +0000
--- gold/configure 2011-03-08 15:59:57.628801736 +0000
*************** if test "${enable_plugins+set}" = set; t
*** 3317,3323 ****
*) plugins=yes ;;
esac
else
! plugins=no
fi
if test "$plugins" = "yes"; then
--- 3317,3323 ----
*) plugins=yes ;;
esac
else
! plugins=yes
fi
if test "$plugins" = "yes"; then
diff -cpr ../binutils-2.21.51.0.6.orig/gold/configure.ac gold/configure.ac
*** ../binutils-2.21.51.0.6.orig/gold/configure.ac 2011-03-08 15:58:55.326802999 +0000
--- gold/configure.ac 2011-03-08 15:59:29.479803846 +0000
*************** AC_ARG_ENABLE([plugins],
*** 93,99 ****
no) plugins=no ;;
*) plugins=yes ;;
esac],
! [plugins=no])
if test "$plugins" = "yes"; then
AC_DEFINE(ENABLE_PLUGINS, 1,
[Define to enable linker plugins])
--- 93,99 ----
no) plugins=no ;;
*) plugins=yes ;;
esac],
! [plugins=yes])
if test "$plugins" = "yes"; then
AC_DEFINE(ENABLE_PLUGINS, 1,
[Define to enable linker plugins])