Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Add WASM_OPT to link flags
Browse files Browse the repository at this point in the history
Co-authored-by: George Stagg <[email protected]>
  • Loading branch information
lionel- and georgestagg committed May 18, 2023
1 parent 3da022d commit bb62e75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webr-vars.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ WASM_LDFLAGS += -L$(WASM)/R-$(R_VERSION)/lib/R/lib
WASM_LDFLAGS += $(EM_LIBS)
WASM_LDFLAGS += -fwasm-exceptions
WASM_LDFLAGS += -s SUPPORT_LONGJMP=wasm
WASM_LDFLAGS += $(WASM_OPT)

# Needed because Emscripten's `dlopen()` calls seem to ignore the
# `local` flag?
Expand Down

0 comments on commit bb62e75

Please sign in to comment.