summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index c29f351c4..a628705ea 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -142,6 +142,9 @@ int main(int argc, char **argv)
}
}
gcc_argv[i++] = GCC_LIB;
+ if (!use_static_linking && DYNAMIC_LINKER[0]) {
+ gcc_argv[i++] = DYNAMIC_LINKER;
+ }
}
}
gcc_argv[i++] = NULL;