aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2013-11-02 11:51:03 -0400
committerS. Davilla <davilla@4pi.com>2013-11-02 11:51:03 -0400
commitb70b41e897d0d924d954be5328b5e0c49fb72626 (patch)
tree7a599913518a3bac9c53d52a4bea742118736c74 /configure.in
parentdb42be64c3724db1fb1e8d4b9917fe2027f26670 (diff)
fix broken linux build
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 8fb51b80e4..fddf3a7f64 100644
--- a/configure.in
+++ b/configure.in
@@ -2896,6 +2896,17 @@ XB_CONFIG_MODULE([xbmc/visualizations/Goom/goom2k4-0],[
], [$DISABLE_GOOM])
XB_CONFIG_MODULE([xbmc/screensavers/rsxs-0.9/], [
+ if test "$host_vendor" = "apple"; then
+ # clang treats inlines different
+ case $CC in
+ *clang*)
+ TEMPCFLAGS="$CFLAGS";;
+ *)
+ TEMPCFLAGS="${CFLAGS} -fgnu89-inline";;
+ esac
+ else
+ TEMPCFLAGS="$CFLAGS";
+ fi
./configure \
CC="$CC" \
CXX="$CXX" \