summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-11-08 23:50:33 +0000
committerJason Molenda <jmolenda@apple.com>2012-11-08 23:50:33 +0000
commit28826a491cbe74651c8da237ea1883ff835912ae (patch)
tree62de5552c08dbf1f989d561157b8abaa41b99a1d /lldb/test/python_api
parent7d37f05a4447c83f29876a6e3515250cafe13c0e (diff)
downloadbcm5719-llvm-28826a491cbe74651c8da237ea1883ff835912ae.tar.gz
bcm5719-llvm-28826a491cbe74651c8da237ea1883ff835912ae.zip
Patch from Dan Malea daniel.malea@gmail.com to add some required
flags to the Linux makefiles to get the tests to run. llvm-svn: 167600
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/lldbutil/iter/Makefile2
-rw-r--r--lldb/test/python_api/lldbutil/process/Makefile2
-rw-r--r--lldb/test/python_api/module_section/Makefile2
-rw-r--r--lldb/test/python_api/watchpoint/watchlocation/Makefile1
4 files changed, 7 insertions, 0 deletions
diff --git a/lldb/test/python_api/lldbutil/iter/Makefile b/lldb/test/python_api/lldbutil/iter/Makefile
index 312d3fec3e1..865b34ba459 100644
--- a/lldb/test/python_api/lldbutil/iter/Makefile
+++ b/lldb/test/python_api/lldbutil/iter/Makefile
@@ -1,5 +1,7 @@
LEVEL = ../../../make
+CFLAGS_EXTRAS := -D__STDC_LIMIT_MACROS
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
MAKE_DSYM :=NO
diff --git a/lldb/test/python_api/lldbutil/process/Makefile b/lldb/test/python_api/lldbutil/process/Makefile
index 312d3fec3e1..865b34ba459 100644
--- a/lldb/test/python_api/lldbutil/process/Makefile
+++ b/lldb/test/python_api/lldbutil/process/Makefile
@@ -1,5 +1,7 @@
LEVEL = ../../../make
+CFLAGS_EXTRAS := -D__STDC_LIMIT_MACROS
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
MAKE_DSYM :=NO
diff --git a/lldb/test/python_api/module_section/Makefile b/lldb/test/python_api/module_section/Makefile
index 5738d5684da..2e9a4de9de9 100644
--- a/lldb/test/python_api/module_section/Makefile
+++ b/lldb/test/python_api/module_section/Makefile
@@ -1,5 +1,7 @@
LEVEL = ../../make
+CFLAGS_EXTRAS := -D__STDC_LIMIT_MACROS
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp b.cpp c.cpp
MAKE_DSYM :=NO
diff --git a/lldb/test/python_api/watchpoint/watchlocation/Makefile b/lldb/test/python_api/watchpoint/watchlocation/Makefile
index 314f1cb2f07..ecf078b3a16 100644
--- a/lldb/test/python_api/watchpoint/watchlocation/Makefile
+++ b/lldb/test/python_api/watchpoint/watchlocation/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
OpenPOWER on IntegriCloud