diff options
author | Moritz Poldrack | 2023-02-15 16:06:59 +0100 |
---|---|---|
committer | Moritz Poldrack | 2023-02-15 16:06:59 +0100 |
commit | 8cdd2719e8c91afd8c2771e7e8dc33cb9d8175b8 (patch) | |
tree | b27c7129c15a667ae4faf1fb66fb1667f46de4f8 | |
parent | 8820990f8a56225c1b04c72542ae52b8204e72ea (diff) | |
download | aur-8cdd2719e8c91afd8c2771e7e8dc33cb9d8175b8.tar.gz |
enable RELRO for C
-rw-r--r-- | PKGBUILD | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ prepare () { build () { cd "${srcdir}/${_pkgname}" export CGO_LDFLAGS="${LDFLAGS}" + export LDFLAGS="${LDFLAGS} -Wl,-z,relro,-z,now" export CGO_CFLAGS="${CFLAGS}" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" |