aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:22 +0000
commit5a5de6ea3962782b02221b96b27dd064b25d381f (patch)
tree6138b29ea914e803d8430f444a764b7d29f8df12 /packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk
parentb76161e41bc2c07cd47f9c61f875d1be95e26d10 (diff)
downloadsrc-5a5de6ea3962782b02221b96b27dd064b25d381f.tar.gz
src-5a5de6ea3962782b02221b96b27dd064b25d381f.zip
Vendor import of lldb trunk r303291:vendor/lldb/lldb-trunk-r303291
Notes
Notes: svn path=/vendor/lldb/dist/; revision=318424 svn path=/vendor/lldb/lldb-trunk-r303291/; revision=318425; tag=vendor/lldb/lldb-trunk-r303291
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk')
-rw-r--r--packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk
new file mode 100644
index 000000000000..117d9e00d443
--- /dev/null
+++ b/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two.mk
@@ -0,0 +1,12 @@
+LEVEL := ../../../make
+
+DYLIB_NAME := Two
+DYLIB_C_SOURCES := Two/Two.c Two/TwoConstant.c
+DYLIB_ONLY := YES
+
+include $(LEVEL)/Makefile.rules
+
+CFLAGS_EXTRAS += -fPIC
+
+Two/TwoConstant.o: Two/TwoConstant.c
+ $(CC) $(CFLAGS_NO_DEBUG) -c $< -o $@