diff --git a/system/base/gperftools/actions.py b/system/base/gperftools/actions.py
index 651184f1..3c89c884 100644
--- a/system/base/gperftools/actions.py
+++ b/system/base/gperftools/actions.py
@@ -10,10 +10,6 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
- # fix for glibc 2.16
- #pisitools.dosed("src/base/linuxthreads.cc", "siginfo_t", "siginfo")
- shelltools.chmod("autogen.sh", 0755)
- shelltools.system("./autogen.sh")
autotools.configure("--disable-static \
--disable-dependency-tracking \
--enable-fast-install \
@@ -23,6 +19,8 @@ def setup():
# Disable rpath
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
+
+ pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make("noinst_PROGRAMS=' '")
diff --git a/system/base/gperftools/pspec.xml b/system/base/gperftools/pspec.xml
index 24578c88..266c1c6d 100644
--- a/system/base/gperftools/pspec.xml
+++ b/system/base/gperftools/pspec.xml
@@ -13,13 +13,17 @@
app:console
Google Performance Tools
Perf Tools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
- http://source.pisilinux.org/1.0/gperftools-846b775dfadb.tar.gz
+ https://github.com/gperftools/gperftools/releases/download/gperftools-2.4/gperftools-2.4.tar.gz
+
+ libunwind-devel
+
gperftools
libunwind
+ libgcc
/usr/bin
@@ -58,6 +62,13 @@
+
+ 2016-01-25
+ 2.4
+ Version bump.
+ Ertuğrul Erata
+ ertugrulerata@gmail.com
+
2014-06-02
2.2