瀏覽代碼

build: disable GCC psabi warnings, they’re annoying.

undefined
Sam Hocevar 10 年之前
父節點
當前提交
7053ff90a6
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      configure.ac

+ 3
- 0
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")


Loading…
取消
儲存