Displaying 2 results from an estimated 2 matches for "pic_setting".
2009 May 08
0
[LLVMdev] Darwin option processing
...inter := -fomit-frame-pointer
> endif
> endif
> + ifndef LOADABLE_MODULE
> + ifndef SHARED_LIBRARY
> + ifeq ($(OS),Darwin)
> + DynamicNoPic := -mdynamic-no-pic
> + endif
> + endif
> + endif
How about factoring the logic so that there is one PIC_SETTING. This
setting can be either -fpic, -mdynamic-no-pic, or empty.
-Chris
>
>
> # Darwin requires -fstrict-aliasing to be explicitly enabled.
> # Avoid -fstrict-aliasing on Darwin for now, there are unresolved
> issues
> @@ -252,8 +259,8 @@
> #ifeq ($(OS),Darwin)
>...
2009 May 08
2
[LLVMdev] Darwin option processing
On May 8, 2009, at 11:49 AM, Chris Lattner wrote:
> On May 7, 2009, at 6:24 PM, Mike Stump wrote:
>> I'm toying with building with -mdynamic-no-pic, but for this to work,
>> the shared library bits in llvm can't be built with that flag.
>
> Hi Mike,
>
> If you're doing this for Clang's benefit,
No, not really, I'm doing it for the general benefit of