Skip to content

Commit

Permalink
Fix build instructions for musl (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyxogen authored Sep 14, 2023
1 parent ba08423 commit a225a9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content/docs/cheerp/00-installation/10-source/01-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ cd ..
cd cheerp-musl
mkdir build_genericjs
cd build_genericjs
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp" LD="${CHEERP_DEST}/bin/llvm-link" CFLAGS="-Wno-int-conversion" ../configure --target=cheerp --disable-shared --prefix=${CHEERP_DEST}
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp -I ${CHEERP_DEST}/lib/clang/15.0.0/include" LD="${CHEERP_DEST}/bin/llvm-link" CFLAGS="-Wno-int-conversion" ../configure --target=cheerp --disable-shared --prefix=${CHEERP_DEST} --with-malloc=dlmalloc
make clean
make -j8
make install
cd ..
mkdir build_asmjs
cd build_asmjs
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp-wasm" LD="${CHEERP_DEST}/bin/llvm-link" CFLAGS="-Wno-int-conversion" ../configure --target=cheerp-wasm --disable-shared --prefix=${CHEERP_DEST}
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp-wasm -I ${CHEERP_DEST}/lib/clang/15.0.0/include" LD="${CHEERP_DEST}/bin/llvm-link" CFLAGS="-Wno-int-conversion" ../configure --target=cheerp-wasm --disable-shared --prefix=${CHEERP_DEST} --with-malloc=dlmalloc
make clean
make -j8
make install
Expand Down Expand Up @@ -136,14 +136,14 @@ cd ..
cd cheerp-musl
mkdir build_genericjs
cd build_genericjs
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp -I ${CHEERP_DEST}/lib/clang/15.0.0/include" LD="${CHEERP_DEST}/bin/llvm-link" CPPFLAGS="" ../configure --target=cheerp --disable-shared --prefix=${CHEERP_DEST}
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp -I ${CHEERP_DEST}/lib/clang/15.0.0/include" LD="${CHEERP_DEST}/bin/llvm-link" CFLAGS="-Wno-int-conversion" ../configure --target=cheerp --disable-shared --prefix=${CHEERP_DEST} --with-malloc=dlmalloc
make clean
make -j8
make install
cd ..
mkdir build_asmjs
cd build_asmjs
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp-wasm -I ${CHEERP_DEST}/lib/clang/15.0.0/include" LD="${CHEERP_DEST}/bin/llvm-link" CPPFLAGS="" ../configure --target=cheerp-wasm --disable-shared --prefix=${CHEERP_DEST}
RANLIB="${CHEERP_DEST}/bin/llvm-ar s" AR="${CHEERP_DEST}/bin/llvm-ar" CC="${CHEERP_DEST}/bin/clang -target cheerp-wasm -I ${CHEERP_DEST}/lib/clang/15.0.0/include" LD="${CHEERP_DEST}/bin/llvm-link" CFLAGS="-Wno-int-conversion" ../configure --target=cheerp-wasm --disable-shared --prefix=${CHEERP_DEST} --with-malloc=dlmalloc
make clean
make -j8
make install
Expand Down

0 comments on commit a225a9c

Please sign in to comment.