summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/libgcc/configure b/libgcc/configure
index 70290a2a4..26d3feba4 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -5118,8 +5118,7 @@ fi
# Compiler Building Blocks variables
-sed -i -e 's#@cbb_xgcc_for_specs@#'"$cbb_xgcc_for_specs"'#g' \
+sed -e 's#@cbb_xgcc_for_specs@#'"$cbb_xgcc_for_specs"'#g' \
-e 's#@cbb_ldflags_for_target@#'"$cbb_ldflags_for_target"'#g' \
-e 's#@cbb_sysroot_for_libgcc@#'"$cbb_sysroot_for_libgcc"'#g' \
- Makefile || exit 2
-
+ Makefile > Makefile.tmp && mv Makefile.tmp Makefile || exit 2