From: Elan Ruusamäe Date: Thu, 15 Jan 2009 02:18:57 +0000 (+0000) Subject: - test x86_64 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrossarmdarwin-binutils.git;a=commitdiff_plain;h=89156ec2a1c3a1a6342a8fc2bb8df2102c1fc3eb - test x86_64 Changed files: crossarmdarwin-binutils.spec -> 1.2 --- diff --git a/crossarmdarwin-binutils.spec b/crossarmdarwin-binutils.spec index 7e2c56b..7b7127e 100644 --- a/crossarmdarwin-binutils.spec +++ b/crossarmdarwin-binutils.spec @@ -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} \