summaryrefslogtreecommitdiffstats
path: root/gcc/config/i386/gnu-user.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/gnu-user.h')
-rw-r--r--gcc/config/i386/gnu-user.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/i386/gnu-user.h b/gcc/config/i386/gnu-user.h
index 3b48b0002ca..9020be9a3a9 100644
--- a/gcc/config/i386/gnu-user.h
+++ b/gcc/config/i386/gnu-user.h
@@ -75,14 +75,16 @@ along with GCC; see the file COPYING3. If not see
{ "link_emulation", GNU_USER_LINK_EMULATION },\
{ "dynamic_linker", GNU_USER_DYNAMIC_LINKER }
-#undef LINK_SPEC
-#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
+#define GNU_USER_TARGET_LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \
-dynamic-linker %(dynamic_linker)} \
%{static:-static}}"
+#undef LINK_SPEC
+#define LINK_SPEC GNU_USER_TARGET_LINK_SPEC
+
/* A C statement (sans semicolon) to output to the stdio stream
FILE the assembler definition of uninitialized global DECL named
NAME whose size is SIZE bytes and alignment is ALIGN bytes.
OpenPOWER on IntegriCloud