summaryrefslogtreecommitdiffstats
path: root/base/zlib
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-02-15 17:04:55 +0100
committertnut <thierryn1 at hispeed dot ch>2011-02-15 17:04:55 +0100
commitb8cfa986833944a631e8ab572c6ea9cb0ec2c007 (patch)
treea6ebc9a5b635d520d25829eead5e62f72be163b3 /base/zlib
parentd16fa68868134d339536752f0f1120e7a6eba744 (diff)
downloadnutyx-extra-b8cfa986833944a631e8ab572c6ea9cb0ec2c007.tar.gz
nutyx-extra-b8cfa986833944a631e8ab572c6ea9cb0ec2c007.tar.bz2
nutyx-extra-b8cfa986833944a631e8ab572c6ea9cb0ec2c007.tar.xz
nutyx-extra-b8cfa986833944a631e8ab572c6ea9cb0ec2c007.zip
zlib, ptits ajustements
Diffstat (limited to 'base/zlib')
-rwxr-xr-xbase/zlib/Pkgfile3
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