mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
unzip: fix PIE build
This commit is contained in:
parent
0d426c8f13
commit
c70ab44ec2
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'unzip'
|
# Template file for 'unzip'
|
||||||
pkgname=unzip
|
pkgname=unzip
|
||||||
version=6.0
|
version=6.0
|
||||||
revision=8
|
revision=9
|
||||||
makedepends="bzip2-devel"
|
makedepends="bzip2-devel"
|
||||||
wrksrc=unzip60
|
wrksrc=unzip60
|
||||||
short_desc="List, test and extract compressed files in a ZIP archive"
|
short_desc="List, test and extract compressed files in a ZIP archive"
|
||||||
|
@ -17,7 +17,7 @@ do_build() {
|
||||||
-DNO_LCHMOD -LDDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNATIVE"
|
-DNO_LCHMOD -LDDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNATIVE"
|
||||||
|
|
||||||
make ${makejobs} -f unix/Makefile LOCAL_UNZIP="$CFLAGS" \
|
make ${makejobs} -f unix/Makefile LOCAL_UNZIP="$CFLAGS" \
|
||||||
prefix=/usr LF2="" CC=$CC CFLAGS="$CFLAGS" \
|
prefix=/usr LF2="" CC=$CC CFLAGS="$CFLAGS" LFLAGS1="$LDFLAGS" \
|
||||||
D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips
|
D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue