rpmbuild with target i386 on x86_64 sets %{_libdir} to lib64.

Rob Andrews rob at choralone.org
Fri Sep 22 08:50:14 UTC 2006


On 22-Sep-2006 08:54.24 (BST), Andy Green wrote:
 > I see, that would be convenient...
 > 
 >       --target PLATFORM
 >               When building the package, interpret PLATFORM as 
 > arch-vendor-os and  set  the  macros
 >               %_target, %_target_cpu, and %_target_os accordingly.
 > 
 > What happens at the moment when you try to use --target then?

Well, using --target i386 on an x86_64 installation, it managed to build
i386 binaries (using g++ -m32). But obviously, the library path was wrong.

It most likely managed to build for the correct architecture because it
passed --target=%{_target} to the configure script.

-- 
rob andrews                       :: pgp 0x01e00563 :: rob at choralone.org




More information about the fedora-devel-list mailing list