From: wolf Date: Sun, 15 Aug 2004 10:59:26 +0000 (+0000) Subject: - magic alphasparc fix X-Git-Tag: AC-STABLE X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrossmingw32-expat.git;a=commitdiff_plain;h=e982d4dac75958b41e7594ffdc590766dcec07ab - magic alphasparc fix - rel 3 Changed files: crossmingw32-expat.spec -> 1.12 --- diff --git a/crossmingw32-expat.spec b/crossmingw32-expat.spec index 02994db..276f506 100644 --- a/crossmingw32-expat.spec +++ b/crossmingw32-expat.spec @@ -6,7 +6,7 @@ Summary(ru): Summary(uk): ðÅÒÅÎÏÓÉÍÁ ¦Â̦ÏÔÅËÁ ÒÏÚÂÏÒÕ XML (expat) Name: crossmingw32-%{realname} Version: 1.95.8 -Release: 2 +Release: 3 License: Thai Open Source Software Center Ltd (distributable) Group: Applications/Publishing/XML Source0: http://dl.sourceforge.net/expat/%{realname}-%{version}.tar.gz @@ -31,6 +31,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define __cc %{target}-gcc %define __cxx %{target}-g++ +%ifarch alpha sparc sparc64 sparcv9 +# alpha's -mieee and sparc's -mtune=* are not valid for target's gcc +%define optflags -O2 +%endif + %description Expat is an XML parser written in C. It aims to be fully conforming. It is currently not a validating XML parser.