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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to