Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
aports
Commits
92f0c4a8
Commit
92f0c4a8
authored
Aug 16, 2013
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/valgrind: build fix for gcc-4.8
parent
feacdad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
main/valgrind/APKBUILD
main/valgrind/APKBUILD
+8
-8
No files found.
main/valgrind/APKBUILD
View file @
92f0c4a8
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
valgrind
pkgver
=
3.8.1
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"A tool to help find memory-management problems in programs"
url
=
"http://valgrind.org/"
arch
=
"all"
...
...
@@ -13,7 +13,7 @@ makedepends="sed paxctl pax-utils perl bash"
# Don't strip the debug info off lib/valgrind/$platform/vgpreload*.so
# in the installation tree. Either Valgrind won't work at all, or it
# will still work if you do, but will generate less helpful error
# messages.
# messages.
options
=
"!strip"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"http://
$pkgname
.org/downloads/
$pkgname
-
$pkgver
.tar.bz2
...
...
@@ -23,11 +23,10 @@ source="http://$pkgname.org/downloads/$pkgname-$pkgver.tar.bz2
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
cd
"
$_builddir
"
local
i
for
i
in
"
$srcdir
"
/
*
.patch
;
do
[
-f
"
$i
"
]
||
continue
msg
"Applying
$i
"
patch
-p1
<
$i
||
return
1
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
...
...
@@ -35,7 +34,8 @@ build() {
cd
"
$_builddir
"
# fails to build with ccache
export
CC
=
"gcc"
export
CFLAGS
=
"
$CFLAGS
-fno-stack-protector -fno-pie"
export
CFLAGS
=
"
$CFLAGS
-fno-stack-protector"
export
GCC_SPECS
=
"hardenednopie.specs"
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment