summaryrefslogtreecommitdiff
path: root/libgfortran
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 /libgfortran
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 'libgfortran')
-rwxr-xr-xlibgfortran/configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/libgfortran/configure b/libgfortran/configure
index ad0c8aa0c..6da0ea542 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -28964,8 +28964,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