aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/extras/gccdeps.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 18:43:09 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 19:02:31 +0100
commitca9f746af500be98f7c65b7f1bd0f50ad936a8b6 (patch)
tree789465df66ea327e642c3e80d690ed7e4a38b1a6 /waflib/extras/gccdeps.py
parenta7860f7e495583f536480a7cce2b6e0c55926f3a (diff)
parentb2ca9626b290e8ab5bfa6269dfc7afe64a012ce1 (diff)
downloadlv2-ca9f746af500be98f7c65b7f1bd0f50ad936a8b6.tar.xz
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/extras/gccdeps.py')
-rw-r--r--waflib/extras/gccdeps.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/waflib/extras/gccdeps.py b/waflib/extras/gccdeps.py
index d9758ab..bfabe72 100644
--- a/waflib/extras/gccdeps.py
+++ b/waflib/extras/gccdeps.py
@@ -36,7 +36,7 @@ def scan(self):
names = []
return (nodes, names)
-re_o = re.compile("\.o$")
+re_o = re.compile(r"\.o$")
re_splitter = re.compile(r'(?<!\\)\s+') # split by space, except when spaces are escaped
def remove_makefile_rule_lhs(line):
@@ -197,7 +197,7 @@ def configure(conf):
except Errors.ConfigurationError:
pass
else:
- conf.env.append_value('CFLAGS', gccdeps_flags)
+ conf.env.append_value('CFLAGS', flags)
conf.env.append_unique('ENABLE_GCCDEPS', 'c')
if conf.env.CXX_NAME in supported_compilers:
@@ -206,7 +206,7 @@ def configure(conf):
except Errors.ConfigurationError:
pass
else:
- conf.env.append_value('CXXFLAGS', gccdeps_flags)
+ conf.env.append_value('CXXFLAGS', flags)
conf.env.append_unique('ENABLE_GCCDEPS', 'cxx')
def options(opt):