SPECS: crossarmdarwin-binutils.spec - test x86_64

glen glen at pld-linux.org
Thu Jan 15 03:19:02 CET 2009


Author: glen                         Date: Thu Jan 15 02:19:02 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- test x86_64

---- Files affected:
SPECS:
   crossarmdarwin-binutils.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/crossarmdarwin-binutils.spec
diff -u SPECS/crossarmdarwin-binutils.spec:1.1 SPECS/crossarmdarwin-binutils.spec:1.2
--- SPECS/crossarmdarwin-binutils.spec:1.1	Thu Jan 15 03:10:15 2009
+++ SPECS/crossarmdarwin-binutils.spec	Thu Jan 15 03:18:57 2009
@@ -24,7 +24,10 @@
 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
@@ -59,6 +62,10 @@
 install -d build/odcctools
 cd build/odcctools
 ../../odcctools/%configure \
+%ifarch %{x8664}
+	CFLAGS="%{rpmcflags} -m32" \
+	LDFLAGS="%{rpmldflags} -m32" \
+%endif
 	--prefix=%{arch} \
 	--libexecdir=%{arch} \
 	--target=%{target} \
@@ -104,6 +111,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/01/15 02:18:57  glen
+- test x86_64
+
 Revision 1.1  2009/01/15 02:10:15  glen
 - new, odcctools only now
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/crossarmdarwin-binutils.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list