r290533 - Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows
Joerg Sonnenberger via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 27 16:18:44 PST 2016
On Tue, Dec 27, 2016 at 12:41:08PM -0800, Saleem Abdulrasool wrote:
> Id really rather not change the behavior. We would generate ELF style PIC,
> which obviously doesn't work.
That's not what I mean. I simply say that we should ignore
-fPIC/-fpic/-fPIE/-fpie on Windows, silently. The relality is that the
majority of the code triggering the warning wants to created PIC, which
is the default. So creating a warning for that seems silly at best.
More information about the cfe-commits