aboutsummaryrefslogtreecommitdiff
path: root/test/lang/c
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
commit0dd2fc716bf19f1bc87535a5bc613d5b17afeeab (patch)
tree17c59e26fea3bd7e5d5fe492a06f74fa86136385 /test/lang/c
parent0b2f5cc32d01cf48d6216a232ec87afab1466315 (diff)
downloadlldb-0dd2fc716bf19f1bc87535a5bc613d5b17afeeab.tar.gz
Patch from Dan Malea daniel.malea@gmail.com to add some required
flags to the Linux makefiles to get the tests to run. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lang/c')
-rw-r--r--test/lang/c/blocks/Makefile1
-rw-r--r--test/lang/c/shared_lib/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/lang/c/blocks/Makefile b/test/lang/c/blocks/Makefile
index b09a57915..752b7aed3 100644
--- a/test/lang/c/blocks/Makefile
+++ b/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/test/lang/c/shared_lib/Makefile b/test/lang/c/shared_lib/Makefile
index 9d9972acd..bf003c39e 100644
--- a/test/lang/c/shared_lib/Makefile
+++ b/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