summaryrefslogtreecommitdiff
path: root/libgomp
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 /libgomp
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 'libgomp')
-rwxr-xr-xlibgomp/configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/libgomp/configure b/libgomp/configure
index c72b18b1d..d92668af0 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -19342,8 +19342,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