[Darwin] Make a final check on PIC options.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 7 Jul 2019 16:34:15 +0000 (16:34 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 7 Jul 2019 16:34:15 +0000 (16:34 +0000)
commit21f94af93a884ba2393b3877d7259922ca7522f3
tree0cda6130ac2b9d54ddd2daa807fcc0c0eec02c64
parent2ea649341aa927c126f26642490147871d10a00f
[Darwin] Make a final check on PIC options.

Final check on PCI options; for Darwin these are not dependent on the PIE
ones, although PIE does require PIC to support it.  Specifically, for Darwin,
"fPIC fno-PIE" should result in the same as "-fno-PIE -fPIC".

2019-07-07  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (darwin_override_options): Make a final check on PIC
options.

From-SVN: r273181
gcc/ChangeLog
gcc/config/darwin.c