summaryrefslogtreecommitdiff
path: root/src/configure.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.cc')
-rw-r--r--src/configure.cc12
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 << ",";
}