darkhttpd: fix build PIE
This commit is contained in:
parent
a580b831e2
commit
54e3d1a58e
1 changed files with 7 additions and 4 deletions
|
@ -1,16 +1,19 @@
|
||||||
# Template file for 'darkhttpd'
|
# Template file for 'darkhttpd'
|
||||||
pkgname=darkhttpd
|
pkgname=darkhttpd
|
||||||
version=1.11
|
version=1.11
|
||||||
revision=3
|
revision=4
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-makefile
|
|
||||||
short_desc="A small and secure static webserver"
|
short_desc="A small and secure static webserver"
|
||||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="http://dmr.ath.cx/net/darkhttpd/"
|
homepage="http://dmr.ath.cx/net/darkhttpd/"
|
||||||
distfiles="$homepage/$pkgname-$version.tar.bz2"
|
distfiles="$homepage/$pkgname-$version.tar.bz2"
|
||||||
checksum=afad244add43c53010b36ada6ccdf1a854885cb37d6aeff103ad0aa4aed96c51
|
checksum=afad244add43c53010b36ada6ccdf1a854885cb37d6aeff103ad0aa4aed96c51
|
||||||
|
CFLAGS="$CFLAGS $LDFLAGS"
|
||||||
|
|
||||||
do_install() {
|
do_build() {
|
||||||
vbin darkhttpd
|
${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${pkgname}.c -o ${pkgname}
|
||||||
|
}
|
||||||
|
do_install() {
|
||||||
|
vbin ${pkgname}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue