mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libreoffice-still: fix
This commit is contained in:
parent
ef56cc63c1
commit
ee4b2fa823
1 changed files with 2 additions and 4 deletions
|
@ -5,6 +5,7 @@
|
|||
# - disable firebird until libfbclient is updated
|
||||
# - specify a US mirror
|
||||
# - remove --enable-lto from configure
|
||||
# - add -D_FILE_OFFSET_BITS=64 to CPPFLAGS for v7
|
||||
|
||||
highmem=1
|
||||
|
||||
|
@ -157,6 +158,7 @@ prepare() {
|
|||
export ARCH_FLAGS
|
||||
export CFLAGS="$ARCH_FLAGS"
|
||||
export CXXFLAGS="$ARCH_FLAGS"
|
||||
export CPPFLAGS+=" -D_FILE_OFFSET_BITS=64"
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -165,10 +167,6 @@ build() {
|
|||
# strip -s from Makeflags in case you use it to shorten build logs
|
||||
_MAKEFLAGS=${MAKEFLAGS/-s/}
|
||||
|
||||
# Build only minimal debug info to reduce size (~1.2GB -> ~225MB)
|
||||
CFLAGS=${CFLAGS/-g /-g1 }
|
||||
CXXFLAGS=${CXXFLAGS/-g /-g1 }
|
||||
|
||||
# this uses malloc_usable_size, which is incompatible with fortification level 3
|
||||
# /usr/lib/libreoffice/program/libskialo.so uses malloc_usable_size
|
||||
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
|
|
Loading…
Reference in a new issue