openssh: openssh fails to build with LTO support on gcc-4.8

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-01-25 04:54:50 +01:00
parent 4814587d01
commit e1ef9bbb08

View File

@ -51,6 +51,9 @@ PKG_CONFIGURE_OPTS_TARGET="--libexecdir=/usr/lib/openssh \
pre_configure_target() {
export LD="$TARGET_CC"
export LDFLAGS="$TARGET_CFLAGS $TARGET_LDFLAGS"
# openssh fails to build with LTO support on gcc-4.8.2
strip_lto
}
post_makeinstall_target() {