diff options
Diffstat (limited to 'third_party/waf/waflib/extras/gccdeps.py')
-rw-r--r-- | third_party/waf/waflib/extras/gccdeps.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/third_party/waf/waflib/extras/gccdeps.py b/third_party/waf/waflib/extras/gccdeps.py index 26b8bdba938..81f60d5aaca 100644 --- a/third_party/waf/waflib/extras/gccdeps.py +++ b/third_party/waf/waflib/extras/gccdeps.py @@ -11,9 +11,12 @@ Execute the tasks with gcc -MD, read the dependencies from the .d file and prepare the dependency calculation for the next run. This affects the cxx class, so make sure to load Qt5 after this tool. -Usage: +Usage:: + + def options(opt): + opt.load('compiler_cxx') def configure(conf): - conf.load('gccdeps') + conf.load('compiler_cxx gccdeps') """ import os, re, threading @@ -209,3 +212,7 @@ def configure(conf): else: conf.env.append_value('CXXFLAGS', gccdeps_flags) conf.env.append_unique('ENABLE_GCCDEPS', 'cxx') + +def options(opt): + raise ValueError('Do not load gccdeps options') + |