From 43c916b6dc5441c273bbefd789f8944f2d8c8070 Mon Sep 17 00:00:00 2001 From: Shiz Date: Sat, 20 Jun 2015 04:10:22 +0200 Subject: 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 --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3