summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2022-05-17 14:54:06 +0200
committerdoyougnu <jeffrey.young@iohk.io>2022-06-13 13:42:44 -0400
commitbb8870b01ac8d683813d7c46c8fd05e3fc6d139b (patch)
treeb17dea38831d78866865d78c4a1ea511410df7be
parent32c586a467643e7d2358d000e9cdb526a1a938da (diff)
downloadhaskell-bb8870b01ac8d683813d7c46c8fd05e3fc6d139b.tar.gz
Configure: fix previous commit
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index ef46f7a5a8..a560f28ad7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -376,15 +376,15 @@ then
chmod 755 "$ghcjsbin/js-unknown-ghcjs-cc"
echo "#!/usr/bin/env bash" > "$ghcjsbin/js-unknown-ghcjs-ar"
- echo "\\nexec \"$EMSDK_LLVM/bin/llvm-ar\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-ar"
+ echo "exec \"$EMSDK_LLVM/bin/llvm-ar\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-ar"
chmod 755 "$ghcjsbin/js-unknown-ghcjs-ar"
echo "#!/usr/bin/env bash" > "$ghcjsbin/js-unknown-ghcjs-ranlib"
- echo "nexec \"$EMSDK_LLVM/bin/llvm-ranlib\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-ranlib"
+ echo "exec \"$EMSDK_LLVM/bin/llvm-ranlib\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-ranlib"
chmod 755 "$ghcjsbin/js-unknown-ghcjs-ranlib"
echo "#!/usr/bin/env bash" > "$ghcjsbin/js-unknown-ghcjs-nm"
- echo "nexec \"$EMSDK_LLVM/bin/llvm-nm\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-nm"
+ echo "exec \"$EMSDK_LLVM/bin/llvm-nm\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-nm"
chmod 755 "$ghcjsbin/js-unknown-ghcjs-nm"
dnl the linker shouldn't be used because GHC does the JS linking.
@@ -392,7 +392,7 @@ then
dnl dealing with the rest of the build system that assumes that a linker is
dnl available.
echo "#!/usr/bin/env bash" > "$ghcjsbin/js-unknown-ghcjs-ld"
- echo "nexec \"$EMSDK_LLVM/bin/llvm-ld\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-ld"
+ echo "exec \"$EMSDK_LLVM/bin/llvm-ld\" \"\$@\"" >> "$ghcjsbin/js-unknown-ghcjs-ld"
chmod 755 "$ghcjsbin/js-unknown-ghcjs-ld"
export PATH=$ghcjsbin:$PATH