Skip to content

Commit

Permalink
fix: keep names section under RelWithDebInfo build
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Sep 24, 2024
1 parent ba37afe commit 449d9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if (USE_WASM_OPT)
add_custom_command(
TARGET starling.wasm
POST_BUILD
COMMAND ${WASM_OPT} --strip-debug -O3 -o starling.wasm starling.wasm
COMMAND ${WASM_OPT} --strip-debug -O3 -g -o starling.wasm starling.wasm
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
elseif (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
Expand Down

0 comments on commit 449d9ca

Please sign in to comment.