On Jun 8, 2006, at 3:40 PM, Jason Vas Dias wrote:
Hi -When I try to build an i386 RPM on an x86_64 rawhide machine (rpm-4.4.2-24)ie. with: # rpmbuild ... --target i386 -ba my.spec I get ${RPM_ARCH} == x86_64 , and %{_libdir} == /usr/lib/lib64 , but RPM_OPT_FLAGS correctly contains '-m32 .. -march=i386' . This seems like a bug to me - or am I missing something - any comments / suggestions ?
Seems like a bug to me as well, but is exactly what I was asked to implement in rpm.
Hint: Hack /etc/rpm/platform to identify your machine as "i386" arch. Speciflically, put this string into the file:
i386-vedorssuck-linux-gnu
73 de Jeff