third_party:waf: update to upstream 2.0.4 release
[bbaumbach/samba-autobuild/.git] / third_party / waf / waflib / extras / gccdeps.py
index 26b8bdba9383dd42ccdd127ee5aa8b1fc7d98bd6..81f60d5aaca3df618ec1a1ecb7460c6db5e08edf 100644 (file)
@@ -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')
+