musl{,-bootstrap}: disable _FORTIFY_SOURCE.

This commit is contained in:
Juan RP 2015-03-11 13:06:47 +01:00
parent 909c9b7929
commit 8afee4ddea
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ homepage="http://www.musl-libc.org/"
distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz"
checksum=5a0160c55c540d5b90158617a57647f1b03209f58d9ee70dbce19d1115b4f1b4
CFLAGS="-fno-toplevel-reorder -fno-stack-protector"
CFLAGS="-fno-toplevel-reorder -fno-stack-protector -U_FORTIFY_SOURCE"
post_install() {
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/

View file

@ -14,7 +14,7 @@ checksum=5a0160c55c540d5b90158617a57647f1b03209f58d9ee70dbce19d1115b4f1b4
shlib_provides="libc.so"
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() {
$CC $CFLAGS $LDFLAGS ${FILESDIR}/getent.c -o getent