mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
gh-100384: Error on unguarded-availability in macOS builds (#128155)
Generate a build error on ``unguarded-availability`` in portable macOS builds (i.e. using MACOSX_DEPLOYMENT_TARGET), preventing invalid use of symbols that are not available in older versions of the OS.
This commit is contained in:
parent
f420bdd29f
commit
9d3a8f4949
4 changed files with 51 additions and 0 deletions
1
.github/workflows/reusable-macos.yml
vendored
1
.github/workflows/reusable-macos.yml
vendored
|
|
@ -45,6 +45,7 @@ jobs:
|
|||
brew link --overwrite tcl-tk@8
|
||||
- name: Configure CPython
|
||||
run: |
|
||||
MACOSX_DEPLOYMENT_TARGET=10.15 \
|
||||
GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
|
||||
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
|
||||
./configure \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue