Skip to content

Commit 2ddda3a

Browse files
committed
Use -Werror=unguarded-availability instead of unguarded-availability-new
1 parent 0f4b63e commit 2ddda3a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

configure

+10-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -2605,8 +2605,8 @@ AS_VAR_IF([ac_cv_gcc_compat], [yes], [
26052605
26062606
# Error on unguarded use of new symbols, which will fail at runtime for
26072607
# users on older versions of macOS
2608-
AX_CHECK_COMPILE_FLAG([-Wunguarded-availability-new],
2609-
[AS_VAR_APPEND([CFLAGS_NODIST], [" -Werror=unguarded-availability-new"])],
2608+
AX_CHECK_COMPILE_FLAG([-Wunguarded-availability],
2609+
[AS_VAR_APPEND([CFLAGS_NODIST], [" -Werror=unguarded-availability"])],
26102610
[],
26112611
[-Werror])
26122612

0 commit comments

Comments
 (0)