diff options
author | tugdilgoldhand | 2016-02-28 11:22:33 +0100 |
---|---|---|
committer | tugdilgoldhand | 2016-02-28 11:22:33 +0100 |
commit | c93566e0862f0d8a5b8739636cb1546169c9e249 (patch) | |
tree | 6ffaf1d1f45757857fc5b60bc3f78f9cf7453629 | |
parent | debbac0ac7f51974d065769906236d4f9a404c3a (diff) | |
download | aur-c93566e0862f0d8a5b8739636cb1546169c9e249.tar.gz |
Bump to rel 2 and add hardening flags
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 6 deletions
@@ -1,9 +1,7 @@ -# Generated by makepkg 5.0.0 -# Thu Feb 25 18:39:09 UTC 2016 pkgbase = mupdf-nojs pkgdesc = Lightweight PDF and XPS viewer pkgver = 1.8 - pkgrel = 1 + pkgrel = 2 url = http://mupdf.com install = mupdf.install arch = i686 @@ -9,7 +9,7 @@ _pkgname=mupdf pkgname=${_pkgname}-nojs pkgver=1.8 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight PDF and XPS viewer' arch=('i686' 'x86_64') url='http://mupdf.com' @@ -39,8 +39,9 @@ prepare() { } build() { - CFLAGS+=' -fPIC' - CXXFLAGS+=' -fPIC' + CFLAGS+=' -fPIC -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2' + CXXFLAGS+=' -fPIC -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2' + LDFLAGS+=' -pie' cd $_pkgname-${pkgver/_/}-source make build=release CURL_LIBS='-lcurl -lpthread' |