diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-03 15:57:46 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-05-03 15:57:46 +0200 |
commit | aeb7c621efc55ae3b2761257f0fc307f097efec0 (patch) | |
tree | 822ab36ece6fa75bef4d7c154201908433b77905 /extra/swh-plugins/PKGBUILD | |
parent | f3a4e8da400567018b5d73b66cd67b8da0d280b8 (diff) |
Build fixes.
Diffstat (limited to 'extra/swh-plugins/PKGBUILD')
-rw-r--r-- | extra/swh-plugins/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/swh-plugins/PKGBUILD b/extra/swh-plugins/PKGBUILD index 40538e7a2..5e3314f4d 100644 --- a/extra/swh-plugins/PKGBUILD +++ b/extra/swh-plugins/PKGBUILD @@ -11,7 +11,7 @@ arch=('i686' 'x86_64' 'mips64el') url="http://plugin.org.uk/" license=('GPL') depends=('fftw' 'ladspa') -makedepends=('libxml2') +makedepends=('libxml2' 'perl-xml-parser') groups=('ladspa-plugins') source=("http://plugin.org.uk/releases/$pkgver/$pkgname-$pkgver.tar.gz" 'mbeq_crash_fix.patch') @@ -23,9 +23,9 @@ build() { # Arch64 fix; # -fPIC seems to be the only option - if [ "$CARCH" = 'x86_64' ]; then + if [ "$CARCH" != 'i686' ]; then export CFLAGS="$CFLAGS -fPIC" - export CXXFLAGS="$CFLAGS" + export CXXFLAGS="$CXXFLAGS -fPIC" fi # fix Firefox crash on x64 when |