extra/texlive-bin: fixes for building

This commit is contained in:
Kevin Mihelich 2012-02-11 16:44:10 -05:00
parent eb886eb2e8
commit d094632607

View file

@ -5,6 +5,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - Removed clisp makedepend, removed xindy from build and packaging (only thing that used clisp)
# - Use -fPIC with armv7
# - --disable-cxx-runtime-hack in configure
plugrel=1
@ -53,7 +54,7 @@ md5sums=('220a4f4cc0d915bf8fcbcb553dcee1ae'
'e7f0197559ef865d8c01683dab3b8526')
build() {
if [ "${CARCH}" = "x86_64" ]; then
if [ "${CARCH}" = "armv7h" ]; then
export CFLAGS="${CFLAGS} -fPIC"
export CXXFLAGS="${CXXFLAGS} -fPIC"
fi
@ -69,7 +70,7 @@ build() {
../source/configure --prefix=/usr -C \
--disable-native-texlive-build \
--with-banner-add="/Arch Linux" \
--enable-cxx-runtime-hack \
--disable-cxx-runtime-hack \
--disable-all-pkgs \
--disable-dump-share \
--disable-ptex \