mongoose: build PIE

This commit is contained in:
Andrea Brancaleoni 2015-09-28 02:43:17 +02:00
parent 5b2460a418
commit 7be412e290
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mongoose'
pkgname=mongoose
version=3.7
revision=10
revision=11
wrksrc=$pkgname
makedepends="libressl-devel"
short_desc="An Easy to use Web server"
@ -10,9 +10,10 @@ license="MIT"
homepage="https://code.google.com/p/mongoose/"
distfiles="https://mongoose.googlecode.com/files/mongoose-$version.tgz"
checksum=8376ede0378b6dd80ded78953726e9d3c18a2a8fd1a52a03efe949fd09d2ea68
build_pie=yes
do_build() {
COPT="-DNO_SSL_DL -lcrypto -lssl" make linux
COPT="$CFLAGS $LDFLAGS -DNO_SSL_DL -lcrypto -lssl" make linux
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install