summaryrefslogtreecommitdiff
path: root/src/rebuild.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebuild.cc')
-rw-r--r--src/rebuild.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebuild.cc b/src/rebuild.cc
index c97452d..f0d52d9 100644
--- a/src/rebuild.cc
+++ b/src/rebuild.cc
@@ -159,6 +159,7 @@ bool recompileCheck(const ctor::settings& global_settings, int argc, char* argv[
ctor::build_configuration config;
+ config.type = ctor::target_type::executable;
config.name = "ctor";
config.system = ctor::output_system::build;
@@ -176,6 +177,7 @@ bool recompileCheck(const ctor::settings& global_settings, int argc, char* argv[
config.flags.ldflags.push_back({ctor::ld_opt::library_path, c.get(ctor::cfg::ctor_libdir)});
}
config.flags.ldflags.push_back({ctor::ld_opt::link, "ctor"});
+ config.flags.ldflags.push_back({ctor::ld_opt::strip});
config.flags.ldflags.push_back({ctor::ld_opt::threads});
ctor::settings settings{global_settings};