From ebab535363743e89b1f9c78c3e6ed051ec15e734 Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Sat, 4 Mar 2023 10:56:39 +0000 Subject: [PATCH] Remove -Werror from autotools darwin build Warnings should not be turned into errors by default as that can cause difficulties for people who just want to build PortAudio, not work on it. Also this is inconsistent with other platforms. --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4128064c2..311eff234 100755 --- a/configure +++ b/configure @@ -15866,7 +15866,7 @@ case "${host_os}" in $as_echo "#define PA_USE_COREAUDIO 1" >>confdefs.h - CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated -Werror" + CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated" LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework CoreFoundation -framework CoreServices" if test "x$enable_mac_universal" = "xyes" ; then diff --git a/configure.in b/configure.in index b7bf56650..d3f4fe198 100644 --- a/configure.in +++ b/configure.in @@ -221,7 +221,7 @@ case "${host_os}" in AC_DEFINE(PA_USE_COREAUDIO,1) - CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated -Werror" + CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Wno-deprecated" LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework CoreFoundation -framework CoreServices" if test "x$enable_mac_universal" = "xyes" ; then