diff options
Diffstat (limited to 'base/zlib')
-rwxr-xr-x | base/zlib/Pkgfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/zlib/Pkgfile b/base/zlib/Pkgfile index f6edc7e82..530727559 100755 --- a/base/zlib/Pkgfile +++ b/base/zlib/Pkgfile @@ -11,7 +11,8 @@ source=(http://www.zlib.net/$name-$version.tar.bz2) build() { cd $name-$version - ./configure --prefix=/usr + sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h + CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr make make prefix=$PKG/usr install mkdir $PKG/lib |