From 7053ff90a6c6322152dffe592e8f4b4bc51ade85 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 23 Apr 2014 16:43:44 +0000 Subject: [PATCH] =?UTF-8?q?build:=20disable=20GCC=20psabi=20warnings,=20th?= =?UTF-8?q?ey=E2=80=99re=20annoying.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 71db59cd..42b6b28c 100644 --- a/configure.ac +++ b/configure.ac @@ -216,6 +216,9 @@ LOL_TRY_CXXFLAGS(-Wstrict-aliasing, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wstrict-aliasi LOL_TRY_CXXFLAGS(-Wparentheses, [AM_CPPFLAGS="${AM_CPPFLAGS} -Wparentheses"]) LOL_TRY_CXXFLAGS(-Wreorder, [AM_CXXFLAGS="${AM_CXXFLAGS} -Wreorder"]) +dnl Disable these warnings because they're annoyingly verbose +LOL_TRY_CXXFLAGS(-Wno-psabi, [AM_CPPFLAGS="${AM_CXXFLAGS} -Wno-psabi"]) + AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm") AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")