diff options
author | Petr Špaček | 2022-01-26 11:16:22 +0100 |
---|---|---|
committer | Petr Špaček | 2022-01-26 11:26:54 +0100 |
commit | a8df3ef9cb4e2418abc9dd22d31b5c7128bd96b7 (patch) | |
tree | 0f95f5914dee9c195ea1df62b49299e5af096def | |
parent | 810da1693853108411ed9e7623412107dd95510d (diff) | |
download | aur-a8df3ef9cb4e2418abc9dd22d31b5c7128bd96b7.tar.gz |
enable debug info build
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -25,6 +25,7 @@ pkgbase = unbound-git provides = unbound provides = libunbound.so conflicts = unbound + options = debug backup = etc/unbound/unbound.conf source = git+https://github.com/NLnetLabs/unbound.git#branch=master source = unbound-1.14.0-trust_anchor_file.patch @@ -15,6 +15,7 @@ optdepends=( 'sh: for unbound-control-setup' 'python: for python-bindings' ) +options=(debug) conflicts=(unbound) provides=(unbound libunbound.so) backup=(etc/${basen}/${basen}.conf) @@ -70,7 +71,8 @@ build() { --with-rootkey-file=/etc/trusted-key.key \ --with-libevent \ --with-libnghttp2 \ - --with-pyunbound + --with-pyunbound \ + --enable-debug sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } |