MaskRay added a comment.

`-r -pie` feels like an error to me. `gcc -dumpspecs` uses 
`%{static|shared|r:;!no-pie:-pie}`, which means `-r` overrides `-pie`.
Either match the behavior if report an error. If reporting an error adds too 
much complexity, just match the behavior.
We just shouldn't let -pie override -r.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129714/new/

https://reviews.llvm.org/D129714

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to