summaryrefslogtreecommitdiff
path: root/libssp
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 /libssp
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 'libssp')
-rwxr-xr-xlibssp/configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/libssp/configure b/libssp/configure
index cfad6d0c3..3b62a3b65 100755
--- a/libssp/configure
+++ b/libssp/configure
@@ -13446,8 +13446,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