mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
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:
parent
bffb9f4145
commit
668d8753ae
1 changed files with 5 additions and 0 deletions
|
@ -29,8 +29,13 @@ build_options="ldns ssl"
|
||||||
build_options_default="ldns ssl"
|
build_options_default="ldns ssl"
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
|
i686-musl)
|
||||||
|
CFLAGS="-fno-stack-protector"
|
||||||
|
configure_args+=" --disable-wtmp --disable-utmp"
|
||||||
|
;;
|
||||||
*-musl)
|
*-musl)
|
||||||
configure_args+=" --disable-wtmp --disable-utmp"
|
configure_args+=" --disable-wtmp --disable-utmp"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue