[cfe-commits] [patch] Honor -fno-pic, -fno-PIC, -fno-pie, -fno-PIE

Nico Weber thakis at chromium.org
Wed Apr 4 15:04:28 PDT 2012


Hi,

the attached patch hooks up -fno-pic, -fno-PIC, -fno-pie, and
-fno-PIE. With this, clang no longer emits "ignoring unknown option
-fno-pic" if that option is passed in, and it also no longer emits pic
code on targets where this is on by default.

I did the same for -fno-pie and -fno-PIE which were silently ignored before.

Ok?

Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-fnopic.patch
Type: application/octet-stream
Size: 1941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120404/832f3510/attachment.obj>


More information about the cfe-commits mailing list