Displaying 1 result from an estimated 1 matches for "ullvm_enable_pic".
Did you mean:
dllvm_enable_pic
2009 Sep 16
0
[LLVMdev] Suppressing cmake's LLVM_ENABLE_PIC for the Xcode generator
Hi,
If you create an Xcode project with
cmake -G Xcode ~/llvm
and do a build, you end up with 68 warnings like this:
-mdynamic-no-pic overrides -fpic or -fPIC
This can be easily avoided doing:
cmake -G Xcode -ULLVM_ENABLE_PIC ~/llvm
But I think it would be nicer if it built warning-free with the
simpler form.
What do you think?
Ray
PS: CMake generated make style builds on Mac OS X don't use the -
mdynamic-no-pic, so I guess you want -fPIC enabled there.
-------------- next part --------------
An HTML attac...