dev-libs/libdazzle: explicitly disable rdtscp and add reason comments
authorMart Raudsepp <leio@gentoo.org>
Sun, 28 Jul 2019 20:19:23 +0000 (23:19 +0300)
committerMart Raudsepp <leio@gentoo.org>
Sun, 28 Jul 2019 20:22:35 +0000 (23:22 +0300)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
dev-libs/libdazzle/libdazzle-3.32.3.ebuild

index ac1010df8633ad51ccdfa1caa4110ed6d17d65d8..22a3edefeebc59630e67a0022244862703bccc2f 100644 (file)
@@ -41,7 +41,10 @@ src_configure() {
        local emesonargs=(
                -Denable_tracing=false # extra trace debugging that would make things slower
                -Denable_profiling=false # -pg passing
-               # -Denable_rdtscp=false # TODO: CPU_FLAGS_X86 for it?
+               # On linux it'll always use a vdso based implementation that is even faster
+               # than rdtscp insn, thus never build with rdtscp until we don't support non-linux
+               # as the rdtscp using function will never get called anyways.
+               -Denable_rdtscp=false
                -Denable_tools=true # /usr/bin/dazzle-list-counters
                $(meson_use introspection with_introspection)
                $(meson_use vala with_vapi)