fixup! ci: Ensure we don't accidentally use too-new macOS API without guards

This commit is contained in:
Nirbheek Chauhan
2023-02-28 12:41:06 +05:30
parent 2b54048828
commit 1984d8df45

View File

@@ -517,10 +517,10 @@ macos:
# macOS limit string lengths to 4095B — pcre2_error.c has a string of length # macOS limit string lengths to 4095B — pcre2_error.c has a string of length
# 4380B # 4380B
# Prevent accidental usage of too-new macOS APIs # Prevent accidental usage of too-new macOS APIs
CFLAGS: '-Wno-overlength-strings -Wunguarded-availability-new -mmacosx-version-min=10.13' CFLAGS: '-Wno-overlength-strings -Wunguarded-availability-new -mmacosx-version-min=10.7'
CXXFLAGS: '-Wunguarded-availability-new -mmacosx-version-min=10.13' CXXFLAGS: '-Wunguarded-availability-new -mmacosx-version-min=10.7'
OBJCFLAGS: '-Wunguarded-availability-new -mmacosx-version-min=10.13' OBJCFLAGS: '-Wunguarded-availability-new -mmacosx-version-min=10.7'
OBJCXXFLAGS: '-Wunguarded-availability-new -mmacosx-version-min=10.13' OBJCXXFLAGS: '-Wunguarded-availability-new -mmacosx-version-min=10.7'
before_script: before_script:
- bash .gitlab-ci/show-execution-environment.sh - bash .gitlab-ci/show-execution-environment.sh
- pip3 install --user meson==1.0.0 - pip3 install --user meson==1.0.0