diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 20:07:15 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-30 20:07:15 -0300 |
commit | e41246bc4c78478a71fe801a745210c931c5f2c5 (patch) | |
tree | 608517048d55c415b96b3223c9a7f9def316e87b /extra/abiword/PKGBUILD | |
parent | e2a2cddf54e26ab2f6551c9d27b997472e5f4d45 (diff) | |
parent | 901f55c6ae5b4888857cbdff1b6bc905264add5f (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/abslibre-mips64el
Conflicts:
community/distcc/PKGBUILD
community/haskell-x11-xft/PKGBUILD
community/ushare/PKGBUILD
core/binutils/PKGBUILD
core/gcc/PKGBUILD
core/glibc/PKGBUILD
core/linux-api-headers/PKGBUILD
extra/catdoc/PKGBUILD
extra/cups/PKGBUILD
extra/curl/PKGBUILD
extra/ethstatus/PKGBUILD
extra/ffcall/PKGBUILD
extra/gimp-dbp/PKGBUILD
extra/gimp-refocus/PKGBUILD
extra/gnome-utils/PKGBUILD
extra/gstreamer0.10-ugly/PKGBUILD
extra/haskell-cgi/PKGBUILD
extra/haskell-deepseq/PKGBUILD
extra/haskell-haskell-src/PKGBUILD
extra/haskell-html/PKGBUILD
extra/haskell-http/PKGBUILD
extra/haskell-hunit/PKGBUILD
extra/haskell-mtl/PKGBUILD
extra/haskell-network/PKGBUILD
extra/haskell-opengl/PKGBUILD
extra/haskell-parallel/PKGBUILD
extra/krusader/PKGBUILD
extra/libmodplug/PKGBUILD
extra/metacity/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/openal/PKGBUILD
extra/pulseaudio/PKGBUILD
extra/rox/PKGBUILD
extra/x2x/PKGBUILD
libre/kernel26-libre/PKGBUILD
libre/libretools/PKGBUILD
multilib-testing/binutils-multilib/PKGBUILD
multilib-testing/gcc-multilib/PKGBUILD
Diffstat (limited to 'extra/abiword/PKGBUILD')
-rw-r--r-- | extra/abiword/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/abiword/PKGBUILD b/extra/abiword/PKGBUILD index b2e9ef2ca..4b81dc298 100644 --- a/extra/abiword/PKGBUILD +++ b/extra/abiword/PKGBUILD @@ -16,6 +16,33 @@ source=("http://www.abisource.com/downloads/${pkgbase}/${pkgver}/source/${pkgbas sha1sums=('998f69d038000b3fc027d4259548f02d67c8d0df' 'e5374f439e3d9b63a4bbd2cd39146c67cf1e85ea') +if [ "${CARCH}" = 'mips64el' ]; then + + ARCHFLAGS="" + for opt in ${CFLAGS}; do + case ${opt} in + -O?) ARCHFLAGS+="-O1 " ;; + *) ARCHFLAGS+="${opt} " ;; + esac + done + CFLAGS=${ARCHFLAGS} + + ARCHFLAGS="" + for opt in ${CXXFLAGS}; do + case ${opt} in + -O?) ARCHFLAGS+="-O1 " ;; + *) ARCHFLAGS+="${opt} " ;; + esac + done + CXXFLAGS=${ARCHFLAGS} + + unset ARCHFLAGS + + echo CFLAGS : ${CFLAGS} + echo CXXFLAGS: ${CXXFLAGS} +fi + + build() { cd "${srcdir}/${pkgbase}-${pkgver}" |