diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-20 23:56:32 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-20 23:56:32 +0000 |
commit | 625ab43318a9816ee26312a3f640d84740da7096 (patch) | |
tree | 8ea6a9db9764315517f0813b0141cf4f005a7760 /lldb/packages/Python/lldbsuite/test/plugins/builder_base.py | |
parent | 6fa300aa1e602136046198ae8bb076d2e577cec8 (diff) | |
download | bcm5719-llvm-625ab43318a9816ee26312a3f640d84740da7096.tar.gz bcm5719-llvm-625ab43318a9816ee26312a3f640d84740da7096.zip |
[dotest] Don't set the DWARF version override in CFLAGS_EXTRA.
We cannot override the DWARF version in the CFLAGS_EXTRA because they
are used by tests that explicitly build without debug info. Instead, we
pass them through the regular CFLAGS.
llvm-svn: 369477
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/plugins/builder_base.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/plugins/builder_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py index be891da2d08..44695cecf21 100644 --- a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py +++ b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py @@ -116,7 +116,7 @@ def getCmdLine(d): pattern = '%s="%s"' if "win32" in sys.platform else "%s='%s'" def setOrAppendVariable(k, v): - append_vars = ["CFLAGS_EXTRAS", "LD_EXTRAS"] + append_vars = ["CFLAGS", "CFLAGS_EXTRAS", "LD_EXTRAS"] if k in append_vars and k in os.environ: v = os.environ[k] + " " + v return pattern % (k, v) |