[PATCH] D116485: [clang][MinGW] Explicitly ignore `-fPIC` & friends

2022-01-02 Thread Markus Böck via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGdbeeb136abcb: [clang][MinGW] Explicitly ignore `-fPIC` & friends (authored by zero9178). Changed prior to commit: https://reviews.llvm.org/D116485

[PATCH] D116485: [clang][MinGW] Explicitly ignore `-fPIC` & friends

2022-01-02 Thread Martin Storsjö via Phabricator via cfe-commits
mstorsjo accepted this revision. mstorsjo added a comment. This revision is now accepted and ready to land. LGTM, thanks. The fact that GCC used to emit a non-fatal warning for this option, but no longer does, probably is the key deciding factor here. Repository: rG LLVM Github Monorepo CHAN

[PATCH] D116485: [clang][MinGW] Explicitly ignore `-fPIC` & friends

2022-01-01 Thread Markus Böck via Phabricator via cfe-commits
zero9178 created this revision. zero9178 added reviewers: mstorsjo, compnerd, mati865. zero9178 requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. GCC on Windows ignores this flag completely [0] which some build systems sadly rely on when com