JohnMahowald/PackagingNotes

My notes on packaging things for Fedora Extras.

If you want a guide, try  the building packages guide

= How to build something with gcc32 =


 * yum install compat-gcc-32 compat-gcc-32-c++
 * Add BuildRequires
 * For configure do something like "%configure CC=gcc32 CXX=g++32"

%ifarch %{ix86} %define optflags %{__global_cflags} -march=i386 -mcpu=i686 %endif %ifarch x86_64 %define optflags %{__global_cflags} -march=x86_64 %endif %ifarch ppc %define optflags %{__global_cflags} %endif