aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoramet <amet.nospam@gmail.com>2012-12-01 03:04:03 +0400
committeramet <amet.nospam@gmail.com>2012-12-01 03:04:03 +0400
commit5a6f1fa5f8e65fe38ad1e10f8f2cfddb9299d2b3 (patch)
treec73df4365cd40e98b757c28a2b0ac9fc5f473780 /configure.in
parentd057b42b3eba7328a1b63e69f057a663d74acd04 (diff)
[fix] build screensavers on osx
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index beb58c1cb3..554c9ba154 100644
--- a/configure.in
+++ b/configure.in
@@ -2714,10 +2714,15 @@ XB_CONFIG_MODULE([xbmc/visualizations/Goom/goom2k4-0],[
], [$DISABLE_GOOM])
XB_CONFIG_MODULE([xbmc/screensavers/rsxs-0.9/], [
+ if test "$host_vendor" = "apple"; then
+ TEMPCFLAGS="${CFLAGS} -fgnu89-inline";
+ else
+ TEMPCFLAGS="$CFLAGS";
+ fi
./configure \
CC="$CC" \
CXX="$CXX" \
- CFLAGS="$CFLAGS" \
+ CFLAGS="$TEMPCFLAGS" \
CXXFLAGS="$CXXFLAGS" \
`if test "$host_vendor" = "apple"; then echo --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib; fi` \
--prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \