summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--lldb/test/functionalities/expr-doesnt-deadlock/Makefile1
-rw-r--r--lldb/test/functionalities/stop-hook/multiple_threads/Makefile1
-rw-r--r--lldb/test/functionalities/watchpoint/hello_watchlocation/Makefile1
-rw-r--r--lldb/test/functionalities/watchpoint/multiple_threads/Makefile1
-rw-r--r--lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile1
-rw-r--r--lldb/test/lang/c/blocks/Makefile1
-rw-r--r--lldb/test/lang/c/shared_lib/Makefile1
-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
11 files changed, 14 insertions, 0 deletions
diff --git a/lldb/test/functionalities/expr-doesnt-deadlock/Makefile b/lldb/test/functionalities/expr-doesnt-deadlock/Makefile
index 2b9484e80e7..dbc04b0de8d 100644
--- a/lldb/test/functionalities/expr-doesnt-deadlock/Makefile
+++ b/lldb/test/functionalities/expr-doesnt-deadlock/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../../make
+CFLAGS_EXTRAS := -lpthread
C_SOURCES := locking.c
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/functionalities/stop-hook/multiple_threads/Makefile b/lldb/test/functionalities/stop-hook/multiple_threads/Makefile
index 314f1cb2f07..ecf078b3a16 100644
--- a/lldb/test/functionalities/stop-hook/multiple_threads/Makefile
+++ b/lldb/test/functionalities/stop-hook/multiple_threads/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/functionalities/watchpoint/hello_watchlocation/Makefile b/lldb/test/functionalities/watchpoint/hello_watchlocation/Makefile
index 314f1cb2f07..ecf078b3a16 100644
--- a/lldb/test/functionalities/watchpoint/hello_watchlocation/Makefile
+++ b/lldb/test/functionalities/watchpoint/hello_watchlocation/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/functionalities/watchpoint/multiple_threads/Makefile b/lldb/test/functionalities/watchpoint/multiple_threads/Makefile
index 314f1cb2f07..ecf078b3a16 100644
--- a/lldb/test/functionalities/watchpoint/multiple_threads/Makefile
+++ b/lldb/test/functionalities/watchpoint/multiple_threads/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile b/lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile
index 314f1cb2f07..ecf078b3a16 100644
--- a/lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile
+++ b/lldb/test/functionalities/watchpoint/watchpoint_set_command/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/lang/c/blocks/Makefile b/lldb/test/lang/c/blocks/Makefile
index b09a579159d..752b7aed397 100644
--- a/lldb/test/lang/c/blocks/Makefile
+++ b/lldb/test/lang/c/blocks/Makefile
@@ -1,5 +1,6 @@
LEVEL = ../../../make
C_SOURCES := main.c
+CFLAGS_EXTRAS += -fblocks
include $(LEVEL)/Makefile.rules
diff --git a/lldb/test/lang/c/shared_lib/Makefile b/lldb/test/lang/c/shared_lib/Makefile
index 9d9972acd57..bf003c39e58 100644
--- a/lldb/test/lang/c/shared_lib/Makefile
+++ b/lldb/test/lang/c/shared_lib/Makefile
@@ -3,5 +3,6 @@ LEVEL = ../../../make
DYLIB_NAME := libfoo
DYLIB_C_SOURCES := foo.c
C_SOURCES := main.c
+CFLAGS_EXTRAS += -fPIC
include $(LEVEL)/Makefile.rules
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