[clang] [Driver] Make ELF -nopie specific to OpenBSD (PR #72578)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 30 11:00:39 PST 2023
MaskRay wrote:
> Weirdly, this leads to `warning: argument unused during compilation: '-nopie'` rather than `error: unknown argument: '-nopie'`
Marking `-nopie` as `TargetSpecific` should change this to an error.
https://github.com/openbsd/src has some `-nopie` use cases that haven't migrated.
https://github.com/llvm/llvm-project/pull/72578
More information about the cfe-commits
mailing list