summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-09
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-0 b/packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-0
index da34868..537eb0a 100644
--- a/packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-0
+++ b/packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-0
@@ -11,7 +11,6 @@ PLATFORMS="~amd64 ~x86"
SUMMARY="Fast, multi-threaded malloc() and nifty performance analysis tools"
DESCRIPTION=""
-HOMEPAGE="https://github.com/gperftools/gperftools"
MYOPTIONS="
debug
@@ -25,12 +24,16 @@ DEPENDENCIES="
dev-libs/libunwind
"
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
+ "debug debugalloc"
+ minimal
+)
+
src_configure() {
option largepages && append-flags -DTCMALLOC_LARGE_PAGES
option optimisememory && append-flags -DTCMALLOC_SMALL_BUT_SLOW
append-flags -fno-strict-aliasing -fno-omit-frame-pointer
- econf \
- $(option_enable debug debugalloc)
+ default_src_configure
}