From e7e30f88875b03b3ef07bc4a47eaad1f7f245696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 23 Jun 2016 20:21:10 +0200 Subject: [PATCH] xchat: fix cross compile --- srcpkgs/xchat/template | 2 ++ 1 file changed, 2 insertions(+) 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 }