+ CFLAGS="$CFLAGS -Wall -Wextra -Werror "
+ CXXFLAGS="$CXXFLAGS -Wall -Wextra -Werror "
+ fi
+
+ if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = elf; then
+ CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
+ CFLAGS="$CFLAGS -fvisibility=hidden"
+ CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+ fi
+
+ if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
+ XIPH_ADD_CFLAGS([-fgnu89-inline])