summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/value_var_update
diff options
context:
space:
mode:
authorRobert Flack <flackr@gmail.com>2015-03-24 12:41:20 +0000
committerRobert Flack <flackr@gmail.com>2015-03-24 12:41:20 +0000
commit666a986839118620720171f2065c0061a8d97580 (patch)
treec789f28fc85785e1e21d09e377ec0ca93f8e4e30 /lldb/test/python_api/value_var_update
parentc99ce681ca4b89222c6216e8d236c6bcc078ec60 (diff)
downloadbcm5719-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/value_var_update')
-rw-r--r--lldb/test/python_api/value_var_update/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/value_var_update/Makefile b/lldb/test/python_api/value_var_update/Makefile
index 8671fb94802..4b0e5814e3e 100644
--- a/lldb/test/python_api/value_var_update/Makefile
+++ b/lldb/test/python_api/value_var_update/Makefile
@@ -1,7 +1,7 @@
LEVEL = ../../make
C_SOURCES := main.c
-CFLAGS_EXTRAS := -std=c99
+CFLAGS_EXTRAS += -std=c99
# See TestHelloWorld.py, which specifies the executable name with a dictionary.
EXE := hello_world
OpenPOWER on IntegriCloud