]> git.ipfire.org Git - thirdparty/curl.git/commit
GHA/mac: simplify detecting SDK version bound to GCC
authorViktor Szakats <commit@vsz.me>
Thu, 10 Oct 2024 09:01:35 +0000 (11:01 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 10 Oct 2024 09:18:07 +0000 (11:18 +0200)
commit5b2d6448bb2edb472094cf9ae48ea8ce768649e0
tree1be8d6d9a0a3162bdd92e0b97952760d701b8903
parentd3725f2bc4d3060c7a08b2547e3d5cb138243db1
GHA/mac: simplify detecting SDK version bound to GCC

Previous method extracted this information from the "hack layer"
headers' copyright comments.

It turns out that the same information can be obtained by querying
the default SDK root via a GCC option.

According to this test run, they do match:
https://github.com/curl/curl/actions/runs/11264283159/job/31323963221?pr=15193

Closes #15241
.github/workflows/macos.yml