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/tasks.cc | |
parent | 9da7f08eb0f34f52561a62d7cf1004621b7d83c2 (diff) |
Minor changes: Add help text to configure --help, use append(..) and strip ctor binary.
Diffstat (limited to 'src/tasks.cc')
-rw-r--r-- | src/tasks.cc | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/tasks.cc b/src/tasks.cc index 9c64fb4..22ad2d6 100644 --- a/src/tasks.cc +++ b/src/tasks.cc @@ -52,21 +52,12 @@ const std::deque<Target>& getTargets(const ctor::settings& settings, exit(1); } const auto& flags = externals.at(external); - config.flags.cflags.insert(config.flags.cflags.end(), - flags.cflags.begin(), - flags.cflags.end()); - config.flags.cxxflags.insert(config.flags.cxxflags.end(), - flags.cxxflags.begin(), - flags.cxxflags.end()); - config.flags.ldflags.insert(config.flags.ldflags.end(), - flags.ldflags.begin(), - flags.ldflags.end()); - config.flags.asmflags.insert(config.flags.asmflags.end(), - flags.asmflags.begin(), - flags.asmflags.end()); - //config.libs.insert(config.libs.end(), - // libs.begin(), - // libs.end()); + append(config.flags.cflags, flags.cflags); + append(config.flags.cxxflags, flags.cxxflags); + append(config.flags.ldflags, flags.ldflags); + append(config.flags.arflags, flags.arflags); + append(config.flags.asmflags, flags.asmflags); + //append(config.libs.insert(config.libs libs); } } |