mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
musl{,-bootstrap}: disable _FORTIFY_SOURCE.
This commit is contained in:
parent
909c9b7929
commit
8afee4ddea
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ homepage="http://www.musl-libc.org/"
|
||||||
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
|
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
|
||||||
checksum=5a0160c55c540d5b90158617a57647f1b03209f58d9ee70dbce19d1115b4f1b4
|
checksum=5a0160c55c540d5b90158617a57647f1b03209f58d9ee70dbce19d1115b4f1b4
|
||||||
|
|
||||||
CFLAGS="-fno-toplevel-reorder -fno-stack-protector"
|
CFLAGS="-fno-toplevel-reorder -fno-stack-protector -U_FORTIFY_SOURCE"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
|
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
|
||||||
|
|
|
@ -14,7 +14,7 @@ checksum=5a0160c55c540d5b90158617a57647f1b03209f58d9ee70dbce19d1115b4f1b4
|
||||||
|
|
||||||
shlib_provides="libc.so"
|
shlib_provides="libc.so"
|
||||||
only_for_archs="i686-musl x86_64-musl armv6l-musl armv7l-musl"
|
only_for_archs="i686-musl x86_64-musl armv6l-musl armv7l-musl"
|
||||||
CFLAGS="-fno-stack-protector"
|
CFLAGS="-fno-stack-protector -U_FORTIFY_SOURCE"
|
||||||
|
|
||||||
post_build() {
|
post_build() {
|
||||||
$CC $CFLAGS $LDFLAGS ${FILESDIR}/getent.c -o getent
|
$CC $CFLAGS $LDFLAGS ${FILESDIR}/getent.c -o getent
|
||||||
|
|
Loading…
Add table
Reference in a new issue