mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libgcc, Darwin: From macOS 11, make that the earliest supported.
For libgcc, we have (so far) supported building a DSO that supports earlier versions of the OS than the target. From macOS 11, there are APIs that do not exist on earlier OS versions, so limit the libgcc range to macOS11..current. libgcc/ChangeLog: * config.host: From macOS 11, limit earliest macOS support to macOS 11. * config/t-darwin-min-11: New file. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
This commit is contained in:
parent
0f52a92ab2
commit
43eab54939
@ -236,7 +236,10 @@ case ${host} in
|
||||
esac
|
||||
tmake_file="$tmake_file t-slibgcc-darwin"
|
||||
case ${host} in
|
||||
*-*-darwin1[89]* | *-*-darwin2* )
|
||||
*-*-darwin2*)
|
||||
tmake_file="t-darwin-min-11 $tmake_file"
|
||||
;;
|
||||
*-*-darwin1[89]*)
|
||||
tmake_file="t-darwin-min-8 $tmake_file"
|
||||
;;
|
||||
*-*-darwin9* | *-*-darwin1[0-7]*)
|
||||
|
3
libgcc/config/t-darwin-min-11
Normal file
3
libgcc/config/t-darwin-min-11
Normal file
@ -0,0 +1,3 @@
|
||||
# Support building with -mmacosx-version-min back to macOS 11.
|
||||
DARWIN_MIN_LIB_VERSION = -mmacosx-version-min=11
|
||||
DARWIN_MIN_CRT_VERSION = -mmacosx-version-min=11
|
Loading…
Reference in New Issue
Block a user