From 91cdbc55f794422217947c0cbaf17ec3ff95cc42915ec5be79429146d4a4431f Mon Sep 17 00:00:00 2001 From: Kyrill Detinov Date: Wed, 5 Oct 2011 15:12:53 +0000 Subject: [PATCH] Accepting request 86696 from home:uli_suse:branches:M17N - cross-build fix: force host architecture OBS-URL: https://build.opensuse.org/request/show/86696 OBS-URL: https://build.opensuse.org/package/show/M17N/fontconfig?expand=0&rev=39 --- fontconfig.changes | 5 +++++ fontconfig.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/fontconfig.changes b/fontconfig.changes index b710873..0dd2051 100644 --- a/fontconfig.changes +++ b/fontconfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 14:35:54 UTC 2011 - uli@suse.com + +- cross-build fix: force host architecture + ------------------------------------------------------------------- Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de diff --git a/fontconfig.spec b/fontconfig.spec index a63a060..def4d61 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -15,6 +15,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: fontconfig %define build_docs 0 BuildRequires: freetype2-devel libexpat-devel pkgconfig @@ -114,7 +116,7 @@ accepts font patterns and returns the nearest matching font. %patch34 -p1 %build -%configure --with-pic \ +%configure --with-pic --with-arch=%_host_cpu \ %if %suse_version > 1100 --disable-static \ %endif