diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-11-21 11:13:28 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-11-21 13:26:29 +0100 |
commit | a7869c0bd65faacdd008284df9ab07de7df3d445 (patch) | |
tree | 8d83ab0b23cd504ddf5c5eeddf5a322fd81db3ed /src/task_cc.cc | |
parent | 28531aed4d1654cdb6f590e92448bc0ba3ab755b (diff) |
Bundle flags in struct for easier passing around.
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r-- | src/task_cc.cc | 4 |
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); |