diff options
author | S. Davilla <davilla@4pi.com> | 2013-11-02 11:51:03 -0400 |
---|---|---|
committer | S. Davilla <davilla@4pi.com> | 2013-11-02 11:51:03 -0400 |
commit | b70b41e897d0d924d954be5328b5e0c49fb72626 (patch) | |
tree | 7a599913518a3bac9c53d52a4bea742118736c74 /configure.in | |
parent | db42be64c3724db1fb1e8d4b9917fe2027f26670 (diff) |
fix broken linux build
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
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" \ |