diff options
| author | Robert Flack <flackr@gmail.com> | 2015-03-24 12:41:20 +0000 |
|---|---|---|
| committer | Robert Flack <flackr@gmail.com> | 2015-03-24 12:41:20 +0000 |
| commit | 666a986839118620720171f2065c0061a8d97580 (patch) | |
| tree | c789f28fc85785e1e21d09e377ec0ca93f8e4e30 /lldb/test/python_api/sbvalue_persist | |
| parent | c99ce681ca4b89222c6216e8d236c6bcc078ec60 (diff) | |
| download | bcm5719-llvm-666a986839118620720171f2065c0061a8d97580.tar.gz bcm5719-llvm-666a986839118620720171f2065c0061a8d97580.zip | |
Don't clobber CFLAGS_EXTRAS in tests.
To run tests against a different target platform many extra compiler flags are
needed to specify sysroot, include dirs, etc. The environment variable
CFLAGS_EXTRAS seems suited for this purpose except that several Makefiles
clobber the current flags. This change modifies all of these to add to
CFLAGS_EXTRAS instead.
Test Plan:
Verify no regressions in ninja check-lldb.
Run tests using CFLAGS_EXTRAS to specify cross compilation flags for a different
target running lldb-server platform.
Differential Revision: http://reviews.llvm.org/D8559
llvm-svn: 233066
Diffstat (limited to 'lldb/test/python_api/sbvalue_persist')
| -rw-r--r-- | lldb/test/python_api/sbvalue_persist/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/sbvalue_persist/Makefile b/lldb/test/python_api/sbvalue_persist/Makefile index 0e5ec65a4fd..e5c7b915073 100644 --- a/lldb/test/python_api/sbvalue_persist/Makefile +++ b/lldb/test/python_api/sbvalue_persist/Makefile @@ -9,7 +9,7 @@ clean: OBJECTS+=no_synth # targets. Other targets do not, which causes this test to fail. # This flag enables FullDebugInfo for all targets. ifneq (,$(findstring clang,$(CC))) - CFLAGS_EXTRAS := -fno-limit-debug-info + CFLAGS_EXTRAS += -fno-limit-debug-info endif include $(LEVEL)/Makefile.rules |

