summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorShiz <hi@shiz.me>2015-06-20 04:10:22 +0200
committerShiz <hi@shiz.me>2015-06-20 04:10:22 +0200
commit43c916b6dc5441c273bbefd789f8944f2d8c8070 (patch)
tree1d4cfd6bb2914dd9dc2661cfb4c2948554726883 /configure
parentc7841dcdbda13b4afb5b9ac7b1ab220b0da54db3 (diff)
downloadcbb-gcc-4.6.4-43c916b6dc5441c273bbefd789f8944f2d8c8070.tar.bz2
cbb-gcc-4.6.4-43c916b6dc5441c273bbefd789f8944f2d8c8070.tar.xz
fix portability issues in build system
This fixes numerous issues where the CBB build system used non-portable constructs. See COPYING.MIDIPIX (9cd0746c) for copyright information. Signed-off-by: Shiz <hi@shiz.me>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 301ddc5f9..251635f8c 100755
--- a/configure
+++ b/configure
@@ -15450,19 +15450,19 @@ fi
# Compiler Building Blocks top-level-only variables
-sed -i -e 's#@cbb_cflags_for_stage1@#'"$cbb_cflags_for_stage1"'#g' \
+sed -e 's#@cbb_cflags_for_stage1@#'"$cbb_cflags_for_stage1"'#g' \
-e 's#@cbb_cflags_for_stage2@#'"$cbb_cflags_for_stage2"'#g' \
-e 's#@cbb_cflags_for_stage3@#'"$cbb_cflags_for_stage3"'#g' \
-e 's#@cbb_cflags_for_stage4@#'"$cbb_cflags_for_stage4"'#g' \
-e 's#@cbb_cflags_for_stageprofile@#'"$cbb_cflags_for_stageprofile"'#g' \
-e 's#@cbb_cflags_for_stagefeedback@#'"$cbb_cflags_for_stagefeedback"'#g' \
- Makefile || exit 2
+ Makefile > Makefile.tmp && mv Makefile.tmp Makefile || exit 2
# 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' \
-e 's#@cbb_cflags_for_bootstrap@#'"$cbb_cflags_for_bootstrap"'#g' \
- Makefile || exit 2
+ Makefile > Makefile.tmp && mv Makefile.tmp Makefile || exit 2