aboutsummaryrefslogtreecommitdiff
Do not pass -dynamic-linker to linker when !shared.
Fixes <http://bugs.gnu.org/20102>.

ARM 'link' spec issue reported at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65711 and
https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01387.html.

Patch by Ludovic Courtès <ludo@gnu.org>.

--- gcc-4.8.4/gcc/config/arm/linux-elf.h.orig	2015-04-08 20:31:20.376900478 +0200
+++ gcc-4.8.4/gcc/config/arm/linux-elf.h	2015-04-08 20:31:36.437014437 +0200
@@ -65,7 +65,7 @@
    %{symbolic:-Bsymbolic} \
    %{!static: \
      %{rdynamic:-export-dynamic} \
-     -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
+     %{!shared:-dynamic-linker " GNU_USER_DYNAMIC_LINKER "}} \
    -X \
    %{mbig-endian:-EB} %{mlittle-endian:-EL}" \
    SUBTARGET_EXTRA_LINK_SPEC
tion value='1'>ignoremode:
authorLudovic Courtès <ludo@gnu.org>2021-01-10 22:13:04 +0100
committerLudovic Courtès <ludo@gnu.org>2021-02-01 17:32:35 +0100
commitaedbc5ff32a62f45aeed74c6833399a6cf2c22dc (patch)
tree2fde6bc10da72d4aa16902f5b70c175a50eccda6 /NEWS
parent60d72f536437bcef2a4e02faa1fe0c8076049fcc (diff)
downloadguix-aedbc5ff32a62f45aeed74c6833399a6cf2c22dc.tar.gz
guix-aedbc5ff32a62f45aeed74c6833399a6cf2c22dc.zip
guix package: Add '--export-channels'.
* guix/channels.scm (sexp->channel): Export. * guix/describe.scm: Use (guix channels). (manifest-entry-provenance): New procedure. * guix/scripts/package.scm (channel=?, export-channels): New procedures. (show-help, %options): Add '--export-channels'. (process-query): Honor it. * build-aux/build-self.scm (build-program)[select?]: Exclude (guix channels) to account for the (guix describe) change above. * doc/guix.texi (Invoking guix package): Document it.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions