unzip: fix PIE build
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user