File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ jobs:
113113 find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
114114 brew install llvm@${{ matrix.llvm }}
115115 export SDKROOT="$(xcrun --show-sdk-path)"
116+ export MACOSX_DEPLOYMENT_TARGET=10.15
116117 ./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
117118 make all --jobs 4
118119 ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
Original file line number Diff line number Diff line change @@ -149,6 +149,8 @@ async def _compile(
149149 "-fno-plt" ,
150150 # Don't call stack-smashing canaries that we can't find or patch:
151151 "-fno-stack-protector" ,
152+ # Error if symbols above the deployment target without guards
153+ "-Werror=unguarded-availability" ,
152154 "-std=c11" ,
153155 "-o" ,
154156 f"{ o } " ,
You can’t perform that action at this time.
0 commit comments