Skip to content

Commit

Permalink
Enable timers + filesystem in libstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
veluca93 committed Jun 23, 2024
1 parent 82319fb commit 7ff8368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ build/libstdcxx.BUILT: build/compiler-rt.BUILT
../gcc/libstdc++-v3/configure --prefix=${SYSROOT} \
--host wasm32-wasi --target wasm32-wasi --build=$(shell $(CC) -dumpmachine) \
CC=${WASM_CC} CXX=${WASM_CXX} AR=${WASM_AR} NM=${WASM_NM} \
--enable-libstdcxx-threads --enable-shared=off -disable-libstdcxx-dual-abi
--enable-libstdcxx-threads --enable-shared=off -disable-libstdcxx-dual-abi \
--enable-libstdcxx-filesystem-ts --enable-libstdcxx-time=yes
cd build/gcc-build && PATH=${LLVM_HOST}/bin:$$PATH $(MAKE) \
CFLAGS_FOR_TARGET="${WASM_CFLAGS} -fsized-deallocation" \
CXXFLAGS_FOR_TARGET="${WASM_CXXFLAGS}" install
Expand Down

0 comments on commit 7ff8368

Please sign in to comment.