summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited2019-08-27 08:41:05 -0500
committerSam Whited2019-08-27 08:41:05 -0500
commit45213340a98d73f6955581702201d2e710b5dfe3 (patch)
tree22fc2828bf481ed33d9bd359eb3f520e57d5832f
parent65fdb3109a12406640c2425c29f3e35c95f971d1 (diff)
downloadaur-45213340a98d73f6955581702201d2e710b5dfe3.tar.gz
Build PIE
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 51e5022afac9..4dd9ba5a7967 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = writeas-cli
pkgdesc = Write.as command line interface
pkgver = 2.0.0
- pkgrel = 2
+ pkgrel = 3
url = https://write.as/apps/cli
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index f1f9f5f59af0..8974fccbc239 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=writeas-cli
pkgver=2.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="Write.as command line interface"
arch=('x86_64')
url='https://write.as/apps/cli'
@@ -18,6 +18,7 @@ build() {
-gcflags "all=-trimpath=${PWD}" \
-asmflags "all=-trimpath=${PWD}" \
-ldflags "-extldflags=${LDFLAGS}" \
+ -buildmode=pie \
./cmd/writeas/
}