diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-16 18:17:51 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-16 19:46:18 +0100 |
commit | c11bbf8455b065c22c7a2147b33fb6a9c8c43e11 (patch) | |
tree | 9f14a3156af6a786f63fad2f766a9a632d7e2ea7 /src/rebuild.cc | |
parent | 9da7f08eb0f34f52561a62d7cf1004621b7d83c2 (diff) |
Minor changes: Add help text to configure --help, use append(..) and strip ctor binary.
Diffstat (limited to 'src/rebuild.cc')
-rw-r--r-- | src/rebuild.cc | 2 |
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}; |