ulatencyd: build PIE

This commit is contained in:
Andrea Brancaleoni 2015-08-24 13:20:53 +02:00
parent 2fb32a5f71
commit 3a9c341a5d
1 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'ulatencyd'
pkgname=ulatencyd
version=0.6.0
revision=5
revision=6
_subrelease=alpha.2.1
wrksrc="${pkgname}-${version}-${_subrelease}"
build_pie=yes
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="procps-ng-devel glib-devel dbus-glib-devel lua51-devel libxcb-devel"
@ -15,7 +16,9 @@ homepage="https://github.com/poelzi/${pkgname}"
distfiles="${homepage}/archive/${version}-${_subrelease}.tar.gz"
checksum=efaf0cf814ef36b9d63f6a588482a2f1ac435163ff5e9d8d20ce07de58efbf2e
configure_args="-DCMAKE_EXE_LINKER_FLAGS=-ldl -DDEVELOP_MODE=false -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSYSTEMD_DIR=''"
LDFLAGS+=" -Wl,-Bdynamic -lm -ldl"
configure_args="-DDEVELOP_MODE=false -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSYSTEMD_DIR=''"
conf_files="
/etc/dbus-1/system.d/org.quamquam.ulatencyd.conf
/etc/ulatencyd/simple.conf