From 28826a491cbe74651c8da237ea1883ff835912ae Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 8 Nov 2012 23:50:33 +0000 Subject: 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 --- lldb/test/python_api/lldbutil/iter/Makefile | 2 ++ lldb/test/python_api/lldbutil/process/Makefile | 2 ++ lldb/test/python_api/module_section/Makefile | 2 ++ lldb/test/python_api/watchpoint/watchlocation/Makefile | 1 + 4 files changed, 7 insertions(+) (limited to 'lldb/test/python_api') 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 -- cgit v1.2.3