Summary: Update makefiles to specify -fPIC in Makefile.rules and only throw -fPIC when building a shared library. This change is necessary to allow building the lldb tests on Windows where -fPIC is not a valid option. Update a few places to Python 3.x syntax Reviewers: zturner, lldb-commits Reviewed By: zturner Subscribers: stella.stamenova, labath, llvm-commits Differential Revision: https://reviews.llvm.org/D42994 llvm-svn: 324671
11 lines
200 B
Makefile
11 lines
200 B
Makefile
LEVEL := ../../../make
|
|
|
|
DYLIB_NAME := Two
|
|
DYLIB_C_SOURCES := Two.c TwoConstant.c
|
|
DYLIB_ONLY := YES
|
|
|
|
include $(LEVEL)/Makefile.rules
|
|
|
|
TwoConstant.o: TwoConstant.c
|
|
$(CC) $(CFLAGS_NO_DEBUG) -c $< -o $@
|