- test x86_64
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 15 Jan 2009 02:18:57 +0000 (02:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossarmdarwin-binutils.spec -> 1.2

crossarmdarwin-binutils.spec

index 7e2c56b..7b7127e 100644 (file)
@@ -23,7 +23,10 @@ Source0:     odcctools-r280.tar.bz2
 URL:           http://developer.berlios.de/projects/iphone-binutils/
 BuildRequires: bison
 BuildRequires: flex
-ExcludeArch:   %{x8664}
+%ifarch %{x8664}
+# SILLY! there should had been %{target_base_arch} if any at all
+BuildRequires: glibc-devel(athlon)
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                target          arm-apple-darwin
@@ -58,6 +61,10 @@ programów i bibliotek.
 install -d build/odcctools
 cd build/odcctools
 ../../odcctools/%configure \
+%ifarch %{x8664}
+       CFLAGS="%{rpmcflags} -m32" \
+       LDFLAGS="%{rpmldflags} -m32" \
+%endif
        --prefix=%{arch} \
        --libexecdir=%{arch} \
        --target=%{target} \
This page took 0.105896 seconds and 4 git commands to generate.