Issue 52947
Summary Feature request: accept -fPIC and -Wl,--as-needed flags
Labels new issue
Assignees
Reporter brechtsanders
    I'm trying to build a large amount of libraries with LLVM/Clang for Windows with MinGW-w64.
A lot of sources won't build out of the box because of errors relating to flags that don't exist like `-fPIC` (sometimes also `-fpic`) and `-Wl,--as-needed flags`. 

On Windows these specific flags have no actual effect (at least not in GCC).

If these flags would get accepted as dummy flags for Windows targets, they would allow building a lot more sources without modifications.


_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to