mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/texlive-bin: fixes for building
This commit is contained in:
parent
eb886eb2e8
commit
d094632607
1 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue