From 7828b418be314b1eda449e4550d527f29ed53ada Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Wed, 18 Dec 2013 02:11:51 +0100 Subject: [PATCH] don't add -Wno-psabi to mac builds. fixes xbmc build --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 772ca7f..510d851 100644 --- a/configure.ac +++ b/configure.ac @@ -130,6 +130,7 @@ libs_client="$LIBS" use_udev="no" use_adapter_detection="yes" use_lockdev="no" +SUPPRESS_MANGLING_WARNINGS=" -Wno-psabi" case "${host}" in *-*-linux*) ## search for udev if pkg-config was found @@ -210,6 +211,7 @@ case "${host}" in AC_CHECK_HEADER(mach/mach_time.h,,AC_MSG_ERROR($msg_required_header_missing)) AC_CHECK_HEADER(CoreVideo/CVHostTime.h,,AC_MSG_ERROR($msg_required_header_missing)) AC_DEFINE([TARGET_DARWIN], [1], [Darwin target]) + SUPPRESS_MANGLING_WARNINGS="" ;; esac @@ -342,7 +344,7 @@ fi LIBS_LIBCEC="$LIBS" LIBS="$libs_client" -CXXFLAGS="$CXXFLAGS -fPIC -Wall -Wextra -Wno-missing-field-initializers -Wno-psabi" +CXXFLAGS="$CXXFLAGS -fPIC -Wall -Wextra -Wno-missing-field-initializers $SUPPRESS_MANGLING_WARNINGS" if test "x$use_debug" = "xyes"; then CXXFLAGS="$CXXFLAGS -g" -- 2.34.1