summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/module_section
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/module_section
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/module_section')
-rw-r--r--lldb/test/python_api/module_section/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/module_section/Makefile b/lldb/test/python_api/module_section/Makefile
index 956077500f1..ee74ebae1f4 100644
--- a/lldb/test/python_api/module_section/Makefile
+++ b/lldb/test/python_api/module_section/Makefile
@@ -1,6 +1,6 @@
LEVEL = ../../make
-CFLAGS_EXTRAS := -D__STDC_LIMIT_MACROS
+CFLAGS_EXTRAS += -D__STDC_LIMIT_MACROS
ENABLE_THREADS := YES
CXX_SOURCES := main.cpp b.cpp c.cpp
MAKE_DSYM :=NO
OpenPOWER on IntegriCloud