[arch-commits] Commit in valgrind/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed Jan 3 11:06:14 UTC 2018
Date: Wednesday, January 3, 2018 @ 11:06:13
Author: bpiotrowski
Revision: 313985
3.13.0-6: strip only the binaries
Modified:
valgrind/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-03 11:05:03 UTC (rev 313984)
+++ PKGBUILD 2018-01-03 11:06:13 UTC (rev 313985)
@@ -4,7 +4,7 @@
pkgname=valgrind
pkgver=3.13.0
-pkgrel=5
+pkgrel=6
pkgdesc='Tool to help find memory-management problems in programs'
arch=('x86_64')
license=('GPL')
@@ -16,7 +16,7 @@
'lib32-glibc: 32-bit ABI support')
provides=('valgrind-multilib')
replaces=('valgrind-multilib')
-options=('!emptydirs')
+options=('!emptydirs' '!strip')
source=(https://sourceware.org/pub/valgrind/valgrind-${pkgver}.tar.bz2
valgrind-fix-xml-socket.patch
valgrind-3.13.0-test-fixes.patch
@@ -48,8 +48,8 @@
build() {
# valgrind does not like stack protector flags
CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
- CFLAGS=${CFLAGS/-fstack-protector-strong/}
- CXXFLAGS=${CXXFLAGS/-fstack-protector-strong/}
+ CFLAGS=${CFLAGS/-fstack-protector-strong -fno-plt/}
+ CXXFLAGS=${CXXFLAGS/-fstack-protector-strong -fno-plt/}
cd ${pkgname}-${pkgver}
./configure \
@@ -101,6 +101,7 @@
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
+ find "${pkgdir}/usr/bin" -type f -executable -exec strip $STRIP_BINARIES {}+ || true
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list