diff options
author | amet <amet.nospam@gmail.com> | 2012-12-01 03:04:03 +0400 |
---|---|---|
committer | amet <amet.nospam@gmail.com> | 2012-12-01 03:04:03 +0400 |
commit | 5a6f1fa5f8e65fe38ad1e10f8f2cfddb9299d2b3 (patch) | |
tree | c73df4365cd40e98b757c28a2b0ac9fc5f473780 | |
parent | d057b42b3eba7328a1b63e69f057a663d74acd04 (diff) |
[fix] build screensavers on osx
-rw-r--r-- | configure.in | 7 | ||||
-rw-r--r-- | tools/darwin/depends/xbmc/Makefile | 1 |
2 files changed, 6 insertions, 2 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}" \ diff --git a/tools/darwin/depends/xbmc/Makefile b/tools/darwin/depends/xbmc/Makefile index 10095f1578..36c3c81bdb 100644 --- a/tools/darwin/depends/xbmc/Makefile +++ b/tools/darwin/depends/xbmc/Makefile @@ -14,7 +14,6 @@ export PATH:=$(TOOLCHAIN)/bin:$(PREFIX)/bin:$(PATH) CONFIGURE=./configure --prefix=$(PREFIX) \ --enable-upnp \ --enable-gtest \ - --disable-rsxs \ PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig \ PYTHON=$(PREFIX)/bin/python |