diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-07 15:16:44 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-07 15:16:44 +0100 |
commit | a4f1ae64a8291787b236dc08b1f0741bd9ab1ffd (patch) | |
tree | e57a628f7c9a5146959516370ea76e04e06d9be3 /extra/netpbm | |
parent | 4c4400925b792b694511bbbf2f645fb34495d5cf (diff) |
Don't do mips64el-specific CFLAGS changes.
The Linux-libre 3.1.6 update was done a long time ago, so no changes
for compatibility with older kernels are needed.
For -fPIC changes it's better to check for i686, since this arch needs
special treatment, not mips64el.
Diffstat (limited to 'extra/netpbm')
-rw-r--r-- | extra/netpbm/PKGBUILD | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/netpbm/PKGBUILD b/extra/netpbm/PKGBUILD index 604487ce6..949654ffa 100644 --- a/extra/netpbm/PKGBUILD +++ b/extra/netpbm/PKGBUILD @@ -33,8 +33,7 @@ build() { sed -i 's|@python|@python2|' buildtools/manpage.mk cp config.mk.in config.mk - [ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk - [ "${CARCH}" = 'mips64el' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk + [ "${CARCH}" != 'i686' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk echo 'TIFFLIB = libtiff.so' >> config.mk echo 'JPEGLIB = libjpeg.so' >> config.mk |