diff options
Diffstat (limited to 'patches/binutils-2.18/generic/gentoo/25_all_binutils-for-build-flags.patch')
-rw-r--r-- | patches/binutils-2.18/generic/gentoo/25_all_binutils-for-build-flags.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/patches/binutils-2.18/generic/gentoo/25_all_binutils-for-build-flags.patch b/patches/binutils-2.18/generic/gentoo/25_all_binutils-for-build-flags.patch deleted file mode 100644 index 8c2cf03..0000000 --- a/patches/binutils-2.18/generic/gentoo/25_all_binutils-for-build-flags.patch +++ /dev/null @@ -1,23 +0,0 @@ -only default CFLAGS_FOR_BUILD to host CFLAGS when build and host are the same - -http://bugs.gentoo.org/192959 - ---- - configure | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -Index: binutils-2.18/configure -=================================================================== ---- binutils-2.18.orig/configure -+++ binutils-2.18/configure -@@ -5778,7 +5778,9 @@ esac - - # Allow the user to override the flags for - # our build compiler if desired. --CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} -+if test x"${build}" = x"${host}" ; then -+ CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} -+fi - - # On Canadian crosses, we'll be searching the right directories for - # the previously-installed cross compiler, so don't bother to add |