summaryrefslogtreecommitdiff
path: root/gcc/mklibgcc.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r--gcc/mklibgcc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in
index fa923bf773c..e39df8305ad 100644
--- a/gcc/mklibgcc.in
+++ b/gcc/mklibgcc.in
@@ -106,9 +106,9 @@ case X"$LIBGCC1" in
echo $out: $libgcc1_c_dep
if [ -z "@NO_MINUS_C_MINUS_O@" ]; then
- echo " $oldcc_compile" $flags -c libgcc1.c -o $out
+ echo " $oldcc_compile" $flags -c '$(srcdir)/libgcc1.c' -o $out
else
- echo " $oldcc_compile" $flags -c libgcc1.c
+ echo " $oldcc_compile" $flags -c '$(srcdir)/libgcc1.c'
echo " mv libgcc1${objext} $out"
fi