]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin: Correct a version check.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 1 Apr 2024 19:47:25 +0000 (20:47 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 22 Apr 2024 18:47:19 +0000 (19:47 +0100)
commit13ae931863dcc3684742ed81ce84d005fbec1bb7
tree42640779fa83519026babd94730eea94aaef3ebf
parentf6b8bd94ff853ac321c72cc80968d8386023b7e5
Darwin: Correct a version check.

When the version for dsymutil comes from a clang build, it is
of the form NNmm.pp.qq where NN and mm are the major and minor
LLVM version components.  We need to check for a major version
greater than or equal to 7 - so use 700 in the check.

gcc/ChangeLog:

* config/darwin.cc (darwin_override_options): Update the
clang major version value in the dsymutil check.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
(cherry picked from commit 451bb0b9262d2f54173937569a29d7f1ad234e30)
gcc/config/darwin.cc