diff options
Diffstat (limited to 'package/binutils/patches')
-rw-r--r-- | package/binutils/patches/patch-ld_Makefile_in | 20 | ||||
-rw-r--r-- | package/binutils/patches/patch-ltmain_sh | 11 |
2 files changed, 31 insertions, 0 deletions
diff --git a/package/binutils/patches/patch-ld_Makefile_in b/package/binutils/patches/patch-ld_Makefile_in new file mode 100644 index 000000000..ff1eeb88f --- /dev/null +++ b/package/binutils/patches/patch-ld_Makefile_in @@ -0,0 +1,20 @@ +--- binutils-2.21.orig/ld/Makefile.in 2010-11-05 11:34:22.000000000 +0100 ++++ binutils-2.21/ld/Makefile.in 2011-01-10 21:57:49.000000000 +0100 +@@ -422,7 +422,7 @@ TEXI2DVI = texi2dvi -I $(srcdir) -I $(BF + -I $(top_srcdir)/../libiberty + + AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \ +- @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \ ++ @INCINTL@ $(HDEFINES) $(PLUGIN_CFLAGS) \ + -DLOCALEDIR="\"$(datadir)/locale\"" + + BFDLIB = ../bfd/libbfd.la +@@ -850,7 +850,7 @@ ld_new_LDADD = $(EMULATION_OFILES) $(EMU + # + @ENABLE_PLUGINS_TRUE@noinst_LTLIBRARIES = libldtestplug.la + @ENABLE_PLUGINS_TRUE@libldtestplug_la_SOURCES = testplug.c +-@ENABLE_PLUGINS_TRUE@libldtestplug_la_CFLAGS = -g -O2 ++@ENABLE_PLUGINS_TRUE@libldtestplug_la_CFLAGS = + @ENABLE_PLUGINS_TRUE@libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere + MAINTAINERCLEANFILES = configdoc.texi ld.1 ld.info + diff --git a/package/binutils/patches/patch-ltmain_sh b/package/binutils/patches/patch-ltmain_sh new file mode 100644 index 000000000..18a178908 --- /dev/null +++ b/package/binutils/patches/patch-ltmain_sh @@ -0,0 +1,11 @@ +--- binutils-2.21.orig/ltmain.sh 2010-01-09 22:11:32.000000000 +0100 ++++ binutils-2.21/ltmain.sh 2011-01-14 19:07:08.000000000 +0100 +@@ -4980,7 +4980,7 @@ func_mode_link () + # @file GCC response files + # -tp=* Portland pgcc target processor selection + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*) ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto) + func_quote_for_eval "$arg" + arg="$func_quote_for_eval_result" + func_append compile_command " $arg" |