Sfoglia il codice sorgente

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

undefined
Sam Hocevar 10 anni fa
parent
commit
7053ff90a6
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      configure.ac

+ 3
- 0
configure.ac Vedi File

@@ -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")


Caricamento…
Annulla
Salva