diff options
| author | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2018-10-12 22:27:33 +0100 |
|---|---|---|
| committer | Marcus Tomlinson <themarcustomlinson@gmail.com> | 2018-10-12 22:27:33 +0100 |
| commit | be6681af88cff41c9c856bca163b28654229d523 (patch) | |
| tree | c5684256126f1533498ec88c06c7e1aa070ae887 /configure.ac | |
| parent | 40c2eddb0ce12d327a0381cd494a7174b987fef2 (diff) | |
| parent | 7ff0637a1f0fbbc0af84f2c6441295929e15d0ff (diff) | |
Merge branch 'master' of https://github.com/thestk/rtaudio
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index d3a0cc4..266ff48 100644 --- a/configure.ac +++ b/configure.ac @@ -86,8 +86,8 @@ AC_CHECK_HEADERS(sys/ioctl.h unistd.h) AS_IF([test "x${GXX}" = "xyes" ], [ CXXFLAGS="-Wall -Wextra ${CXXFLAGS}" AS_IF([ test "x${enable_debug}" = "xyes" ], [ - # Add -Werror in debug mode - CXXFLAGS="-Werror ${CXXFLAGS}" + # Add -Werror in debug mode (except unused-function) + CXXFLAGS="-Werror -Wno-error=unused-function ${CXXFLAGS}" ], [ # hide private symbols in non-debug mode visibility="-fvisibility=hidden" |
