friss added a comment.

Just because it makes the behavior more intuitive? If you toolchain does PIC by 
default, it's because you are mostly building shared objects. When you are 
building a static object, it's highly likely that you don't need PIC. There 
should be a way to enable it, but I find it really awkward to have to spell 
"clang -static -fno-PIC" to get the intuitive behavior.


http://reviews.llvm.org/D15455



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to