]> git.pld-linux.org Git - packages/crossmingw32-expat.git/commitdiff
- updated CFLAGS/LDFLAGS hacks auto/th/crossmingw32-expat-2_0_1-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Apr 2011 19:05:29 +0000 (19:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    crossmingw32-expat.spec -> 1.23

crossmingw32-expat.spec

index 2d0501a195b0842efae4930d3653cd2590058c51..ce5966edffbe0a39173f72bc9ed5ecc1f003b6d0 100644 (file)
@@ -3,7 +3,7 @@ Summary(pl.UTF-8):      Analizator składni XML-a 1.0 - wersja skrośna dla Ming32
 %define                realname                expat
 Name:          crossmingw32-%{realname}
 Version:       2.0.1
-Release:       1
+Release:       2
 License:       Thai Open Source Software Center Ltd (distributable)
 Group:         Development/Libraries
 Source0:       http://dl.sourceforge.net/expat/%{realname}-%{version}.tar.gz
@@ -30,10 +30,12 @@ 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
+%ifnarch %{ix86}
+# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
 %define                optflags        -O2
 %endif
+# -z options are invalid for mingw linker
+%define                filterout_ld    -Wl,-z,.*
 
 %description
 Expat is an XML parser written in C. It aims to be fully conforming.
This page took 0.162923 seconds and 4 git commands to generate.