From 30d7309f6d529f06c5a7674654adb15f20deaa19 Mon Sep 17 00:00:00 2001 From: Aaron Smith Date: Thu, 8 Feb 2018 23:10:29 +0000 Subject: Only throw -fPIC when building a shared library 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 --- .../Python/lldbsuite/test/functionalities/pre_run_dylibs/Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/Makefile index c4855ca9b12..624a6e1584e 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/Makefile +++ b/lldb/packages/Python/lldbsuite/test/functionalities/pre_run_dylibs/Makefile @@ -3,6 +3,4 @@ LEVEL = ../../make DYLIB_NAME := unlikely_name DYLIB_CXX_SOURCES := foo.cpp CXX_SOURCES := main.cpp -CFLAGS_EXTRAS += -fPIC - include $(LEVEL)/Makefile.rules -- cgit v1.2.3