[LLVMdev] Darwin option processing
clattner at apple.com
Fri May 8 18:06:16 CDT 2009
On May 8, 2009, at 2:54 PM, Mike Stump wrote:
> On May 8, 2009, at 1:49 PM, Mike Stump wrote:
>> On May 8, 2009, at 1:02 PM, Chris Lattner wrote:
>>> This goes against our general direction for llvm libraries: they
>>> should generally all be built pic.
>> After reviewing yet more of the Makefile,rules file, I believe
>> ENABLE_PIC is the right thing to check.
Looks good to me, thanks Mike.
> Index: clang/Makefile.rules
> --- clang/Makefile.rules (revision 71270)
> +++ clang/Makefile.rules (working copy)
> @@ -338,6 +338,11 @@
> C.Flags += -fPIC
> + ifeq ($(OS),Darwin)
> + CXX.Flags += -mdynamic-no-pic
> + C.Flags += -mdynamic-no-pic
> + endif
> CXX.Flags += $(CXXFLAGS) -Woverloaded-virtual
> is the patch I had in mind. Any objections?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the LLVMdev