aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4dca6758b..9e7f7b612 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1195,7 +1195,14 @@ bool parse_build_flags(Array<String> args) {
}
- set_flags[bf.kind] = ok;
+ switch (bf.kind) {
+ case BuildFlag_Define:
+ // Allow for multiple
+ break;
+ default:
+ set_flags[bf.kind] = ok;
+ break;
+ }
}
break;
}