summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/wasm-reduce.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/wasm-reduce.cpp b/src/tools/wasm-reduce.cpp
index 675d5a025..6e6762099 100644
--- a/src/tools/wasm-reduce.cpp
+++ b/src/tools/wasm-reduce.cpp
@@ -288,6 +288,9 @@ struct Reducer
if (debugInfo) {
currCommand += " -g ";
}
+ if (!binary) {
+ currCommand += " -S ";
+ }
if (verbose) {
std::cerr << "| trying pass command: " << currCommand << "\n";
}