summaryrefslogtreecommitdiff
path: root/ctor.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-11-21 11:13:28 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-11-21 13:26:29 +0100
commita7869c0bd65faacdd008284df9ab07de7df3d445 (patch)
tree8d83ab0b23cd504ddf5c5eeddf5a322fd81db3ed /ctor.cc
parent28531aed4d1654cdb6f590e92448bc0ba3ab755b (diff)
Bundle flags in struct for easier passing around.
Diffstat (limited to 'ctor.cc')
-rw-r--r--ctor.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/ctor.cc b/ctor.cc
index b046d5a..c8c7cff 100644
--- a/ctor.cc
+++ b/ctor.cc
@@ -27,13 +27,15 @@ BuildConfigurations ctorConfigs()
"src/util.cc",
"src/unittest.cc",
},
- .cxxflags = {
- "-std=c++20",
- "-O3",
- "-s",
- "-Wall",
- "-Werror",
- "-Isrc",
+ .flags = {
+ .cxxflags = {
+ "-std=c++20",
+ "-O3",
+ "-g",
+ "-Wall",
+ "-Werror",
+ "-Isrc",
+ },
},
}
};