openssh: work around a i686-musl bug

Disable stack protector because the symbol
`__stack_chk_fail_local` is not found when linking.
This commit is contained in:
Jürgen Buchmüller 2017-04-05 19:02:42 +02:00
parent bffb9f4145
commit 668d8753ae

View file

@ -29,8 +29,13 @@ build_options="ldns ssl"
build_options_default="ldns ssl"
case $XBPS_TARGET_MACHINE in
i686-musl)
CFLAGS="-fno-stack-protector"
configure_args+=" --disable-wtmp --disable-utmp"
;;
*-musl)
configure_args+=" --disable-wtmp --disable-utmp"
;;
esac
pre_configure() {