We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 557cec5 commit 5bb367cCopy full SHA for 5bb367c
recipes/recipes_emscripten/octave/build.sh
@@ -4,11 +4,13 @@ export CFLAGS="${CFLAGS} --target=wasm32-unknown-emscripten"
4
export CXXFLAGS="${CXXFLAGS} --target=wasm32-unknown-emscripten"
5
6
# Octave overrides xerbla
7
-objcopy --strip-symbol=xerbla_ "${PREFIX}/lib/liblapack.a"
+llvm-objcopy --strip-symbol=xerbla_ "${PREFIX}/lib/liblapack.a"
8
# Blas should not define the following symbols
9
-for sym in lsame_ xerbla_ xerbla_array_; do
10
- objcopy --strip-symbol="${sym}" "${PREFIX}/lib/libblas.a"
11
-done
+llvm-objcopy \
+ --strip-symbol=lsame_ \
+ --strip-symbol=xerbla_ \
12
+ --strip-symbol=xerbla_array_ \
13
+ "${PREFIX}/lib/libblas.a"
14
15
# flang-new does not support emscripten flags.
16
#
0 commit comments