diff options
-rw-r--r-- | app-admin/clsync/clsync-9999.ebuild | 5 | ||||
-rw-r--r-- | app-admin/clsync/metadata.xml | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app-admin/clsync/clsync-9999.ebuild b/app-admin/clsync/clsync-9999.ebuild index 05e00ff84f2b..c17448327bb2 100644 --- a/app-admin/clsync/clsync-9999.ebuild +++ b/app-admin/clsync/clsync-9999.ebuild @@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 KEYWORDS="" else - SRC_URI="https://github.com/clsync/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + SRC_URI="https://github.com/clsync/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -20,7 +20,7 @@ LICENSE="GPL-3+" SLOT="0" IUSE="apidoc +caps +clsync cluster control-socket cgroups doc debug examples extra-debug extra-hardened gio +hardened +highload-locks -+inotify mhash namespaces seccomp socket-library static-libs" ++inotify +lto mhash namespaces seccomp socket-library static-libs" REQUIRED_USE=" || ( clsync socket-library ) @@ -76,6 +76,7 @@ src_configure() { $(use_enable cluster) \ $(use_enable control-socket socket) \ $(use_enable highload-locks) \ + $(use_enable lto) \ $(use_enable namespaces unshare) \ $(use_enable seccomp) \ $(use_enable socket-library) \ diff --git a/app-admin/clsync/metadata.xml b/app-admin/clsync/metadata.xml index fd64593a2778..39a9cda50e2d 100644 --- a/app-admin/clsync/metadata.xml +++ b/app-admin/clsync/metadata.xml @@ -24,6 +24,7 @@ <flag name="extra-hardened">Enable extra security checks. This will hurt performance.</flag> <flag name="gio">Enable GIO for FS monitoring (glib based alternative to inotify interface, not recommended; if both are compiled, may be selected at runtime).</flag> <flag name="highload-locks">Allows to use spinlocks for short delays instead of mutexes, but only on SMP systems.</flag> + <flag name="lto">Build with link time optimization (LTO).</flag> <flag name="namespaces">Enable namespaces isolation.</flag> <flag name="socket-library">Build the control and monitoring socket library: libclsync.</flag> </use> |