Darwin: Check for that flag-reorder-and-partition.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 10 Dec 2021 23:55:49 +0000 (23:55 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 24 Dec 2021 10:42:35 +0000 (10:42 +0000)
commit8381075ff3f5f5aefcd7027d7c5136a0e61e654a
tree4c3a38f4ec5ac1a9889e3e147c77a6f170523695
parent9a4a29eaf23a87debb7f1761b36fead545282dfa
Darwin: Check for that flag-reorder-and-partition.

We were checking whether the flag had been set by the user, but not if
it was set to true.  Which means that the check fails in its intent when
the user puts -fno-reorder-and-partition.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:

* config/darwin.c (darwin_override_options): When checking for the
flag-reorder-and-partition case, also check that it is set on.
gcc/config/darwin.c