gnu: Add python-mediafile.
[jackhill/guix/guix.git] / gnu / packages / patches / gcc-arm-link-spec-fix.patch
CommitLineData
1421afa9
MW
1Do not pass -dynamic-linker to linker when !shared.
2Fixes <http://bugs.gnu.org/20102>.
3
2068559b
LC
4ARM 'link' spec issue reported at
5https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65711 and
6https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01387.html.
7
1421afa9
MW
8Patch by Ludovic Courtès <ludo@gnu.org>.
9
10--- gcc-4.8.4/gcc/config/arm/linux-elf.h.orig 2015-04-08 20:31:20.376900478 +0200
11+++ gcc-4.8.4/gcc/config/arm/linux-elf.h 2015-04-08 20:31:36.437014437 +0200
12@@ -65,7 +65,7 @@
13 %{symbolic:-Bsymbolic} \
14 %{!static: \
15 %{rdynamic:-export-dynamic} \
16- -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
17+ %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
18 -X \
19 %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
20 SUBTARGET_EXTRA_LINK_SPEC