diff options
author | David Robillard <d@drobilla.net> | 2019-03-17 17:31:04 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-03-17 18:14:27 +0100 |
commit | a26e6c73275d07c4f7bf80745ce26eb7aa8d941a (patch) | |
tree | e8d433fff41983c96ed15b631e84f71cc0e8cae2 /waflib/extras/gccdeps.py | |
parent | b69a38d171758c6e979d74541fc21d12b7e6abda (diff) | |
parent | 8798f33f1a7f0ed33a847b23ea5f8cbc63bb294b (diff) | |
download | patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.tar.gz patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.tar.bz2 patchage-a26e6c73275d07c4f7bf80745ce26eb7aa8d941a.zip |
Update autowaf and adapt to new API
Diffstat (limited to 'waflib/extras/gccdeps.py')
-rw-r--r-- | waflib/extras/gccdeps.py | 6 |
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): |