summaryrefslogtreecommitdiff
path: root/src/task_cc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r--src/task_cc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task_cc.cc b/src/task_cc.cc
index 61f5977..1db9767 100644
--- a/src/task_cc.cc
+++ b/src/task_cc.cc
@@ -246,9 +246,9 @@ std::vector<std::string> TaskCC::flags() const
switch(sourceLanguage())
{
case Language::C:
- return config.cflags;
+ return config.flags.cflags;
case Language::Cpp:
- return config.cxxflags;
+ return config.flags.cxxflags;
default:
std::cerr << "Unknown CC target type\n";
exit(1);