diff --git a/srcpkgs/xchat/template b/srcpkgs/xchat/template index 53940fa6afc..8724fd99c63 100644 --- a/srcpkgs/xchat/template +++ b/srcpkgs/xchat/template @@ -23,7 +23,9 @@ pre_configure() { if [ "$CROSS_BUILD" ];then perlflags=$(perl -MExtUtils::Embed -e ldopts | sed \ -e 's/-lgdbm //' \ + -e 's/-mtune=generic//' \ -e "s#/usr/lib#${XBPS_CROSS_BASE}\0#") sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure + sed -i "s#PERL_CFLAGS=#\0$CFLAGS#" configure fi }