Skip to content

Commit

Permalink
Build regular -fexceptions
Browse files Browse the repository at this point in the history
Trying to link -fwasm-exceptions with files that use just -fexceptions causes issues; easier to stick to old -fexceptions for now.
  • Loading branch information
RReverser committed Oct 21, 2022
1 parent 3cfa7da commit 5d223d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if [ "$PIC" = "true" ]; then PIC_FLAG=--pic; fi
#export LDFLAGS+=" --source-map-base http://localhost:3000/lib/"

# Common compiler flags
export CFLAGS="-O3 -fno-rtti -fwasm-exceptions -mnontrapping-fptoint -pthread"
export CFLAGS="-O3 -fno-rtti -fexceptions -mnontrapping-fptoint -pthread"
if [ "$SIMD" = "true" ]; then export CFLAGS+=" -msimd128 -DWASM_SIMD_COMPAT_SLOW"; fi
if [ "$WASM_BIGINT" = "true" ]; then
# libffi needs to detect WASM_BIGINT support at compile time
Expand Down

0 comments on commit 5d223d5

Please sign in to comment.