summaryrefslogtreecommitdiff
path: root/ctor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ctor.cc')
-rw-r--r--ctor.cc29
1 files changed, 7 insertions, 22 deletions
diff --git a/ctor.cc b/ctor.cc
index baf22c1..445f18a 100644
--- a/ctor.cc
+++ b/ctor.cc
@@ -11,7 +11,7 @@ BuildConfigurations ctorConfigs(const Settings& settings)
{
{
.type = TargetType::StaticLibrary,
- .target = "libctor.lib",
+ .target = "libctor.a",
.sources = {
"src/build.cc",
"src/configure.cc",
@@ -29,30 +29,15 @@ BuildConfigurations ctorConfigs(const Settings& settings)
"src/tools.cc",
"src/util.cc",
"src/unittest.cc",
- "getopt-for-windows/getopt.c",
},
.flags = {
.cxxflags = {
- "/std:c++20",
-// "/O2",
-// "/Wall",
-// "/WX",
- "/Isrc",
- "/nologo",
- "/EHsc",
- "/D_X86_",
- "/Igetopt-for-windows",
- },
- .cflags = {
- "/std:c++20",
-// "/O2",
-// "/Wall",
-// "/WX",
- "/Isrc",
- "/nologo",
- "/EHsc",
- "/D_X86_",
- "/Igetopt-for-windows",
+ "-std=c++20",
+ "-O3",
+ "-g",
+ "-Wall",
+ "-Werror",
+ "-Isrc",
},
},
}