blktrace: fix PIE.
This commit is contained in:
parent
2c8166abb3
commit
3674a848e7
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'blktrace'
|
# Template file for 'blktrace'
|
||||||
pkgname=blktrace
|
pkgname=blktrace
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="prefix=/usr mandir=/usr/share/man"
|
make_install_args="prefix=/usr mandir=/usr/share/man"
|
||||||
makedepends="libaio-devel"
|
makedepends="libaio-devel"
|
||||||
|
@ -11,3 +11,7 @@ license="GPL-2"
|
||||||
homepage="http://brick.kernel.dk/"
|
homepage="http://brick.kernel.dk/"
|
||||||
distfiles="http://brick.kernel.dk/snaps/${pkgname}-${version}.tar.bz2"
|
distfiles="http://brick.kernel.dk/snaps/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=54a2faaa06dd52fd4a56a6aafa2a251990eb8dcf1832bb8c2fb1fc13a74a9295
|
checksum=54a2faaa06dd52fd4a56a6aafa2a251990eb8dcf1832bb8c2fb1fc13a74a9295
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile */Makefile
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue