diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-14 11:06:44 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-14 11:06:44 +0100 |
commit | d157b9f4cccab36eaf72c0dfc1541e5247340851 (patch) | |
tree | 9fe2abef03f09d55e1a577a2797c92004d6af869 | |
parent | 916060cb53fddb94f64b20d3616e7360c5e91f64 (diff) |
Fix configure.cc generation for resolved externals.
-rw-r--r-- | src/configure.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/configure.cc b/src/configure.cc index 34812fa..8e88092 100644 --- a/src/configure.cc +++ b/src/configure.cc @@ -552,20 +552,20 @@ int regenerateCache(ctor::settings& settings, return 1; } - if(!resolved_flags.cxxflags.empty()) + if(!resolved_flags.cflags.empty()) { - istr << " .cxxflags = {"; - for(const auto& flag : resolved_flags.cxxflags) + istr << " .cflags = {"; + for(const auto& flag : resolved_flags.cflags) { istr << flag << ","; } istr << "},\n"; } - if(!resolved_flags.cflags.empty()) + if(!resolved_flags.cxxflags.empty()) { - istr << " .cflags = {"; - for(const auto& flag : resolved_flags.cflags) + istr << " .cxxflags = {"; + for(const auto& flag : resolved_flags.cxxflags) { istr << flag << ","; } |