redhat-rpm-config/rpmrc
Panu Matilainen 5c981d5072 Fedora 11 default buildflags
- as per http://fedoraproject.org/wiki/Features/ArchitectureSupport
  - set 32 bit intel build arch to i586 on compatible hardware
  - set 32 bit sparc build arch to sparcv9 on compatible hardware
- add missing armv7l arch
- set the default build arch to match fedora arm build target
2010-01-22 15:20:26 +02:00

82 lines
3.4 KiB
Plaintext

include: /usr/lib/rpm/rpmrc
optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables
optflags: i486 %{__global_cflags} -m32 -march=i486 -fasynchronous-unwind-tables
optflags: i586 %{__global_cflags} -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables
optflags: i686 %{__global_cflags} -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables
optflags: athlon %{__global_cflags} -m32 -march=athlon -fasynchronous-unwind-tables
optflags: ia64 %{__global_cflags}
optflags: x86_64 %{__global_cflags} -m64 -mtune=generic
optflags: alpha %{__global_cflags} -mieee
optflags: alphaev5 %{__global_cflags} -mieee -mcpu=ev5
optflags: alphaev56 %{__global_cflags} -mieee -mcpu=ev56
optflags: alphapca56 %{__global_cflags} -mieee -mcpu=pca56
optflags: alphaev6 %{__global_cflags} -mieee -mcpu=ev6
optflags: alphaev67 %{__global_cflags} -mieee -mcpu=ev67
optflags: sparc %{__global_cflags} -m32 -mcpu=v7 -mtune=ultrasparc
optflags: sparcv8 %{__global_cflags} -m32 -mcpu=v8
optflags: sparcv9 %{__global_cflags} -m32 -mcpu=ultrasparc
optflags: sparcv9v %{__global_cflags} -m32 -mcpu=niagara
optflags: sparc64 %{__global_cflags} -m64 -mcpu=ultrasparc
optflags: sparc64v %{__global_cflags} -m64 -mcpu=niagara
optflags: m68k %{__global_cflags}
optflags: ppc %{__global_cflags} -m32
optflags: ppciseries %{__global_cflags} -m32
optflags: ppcpseries %{__global_cflags} -m32
optflags: ppc64 %{__global_cflags} -m64 -mminimal-toc
optflags: ppc64iseries %{__global_cflags} -m64 -mminimal-toc
optflags: ppc64pseries %{__global_cflags} -m64 -mminimal-toc
optflags: ppc8260 %{__global_cflags} -m32
optflags: ppc8560 %{__global_cflags} -m32
optflags: parisc %{__global_cflags} -mpa-risc-1-0
optflags: hppa1.0 %{__global_cflags} -mpa-risc-1-0
optflags: hppa1.1 %{__global_cflags} -mpa-risc-1-0
optflags: hppa1.2 %{__global_cflags} -mpa-risc-1-0
optflags: hppa2.0 %{__global_cflags} -mpa-risc-1-0
optflags: mips %{__global_cflags}
optflags: mipsel %{__global_cflags}
optflags: armv3l %{__global_cflags} -fsigned-char -march=armv3
optflags: armv4b %{__global_cflags} -fsigned-char -march=armv4
optflags: armv4l %{__global_cflags} -fsigned-char -march=armv4
optflags: armv4tl %{__global_cflags} -march=armv4t
optflags: armv5tel %{__global_cflags} -march=armv5te
optflags: armv5tejl %{__global_cflags} -march=armv5te
optflags: armv6l %{__global_cflags} -march=armv6
optflags: armv7l %{__global_cflags} -march=armv7
optflags: atarist %{__global_cflags}
optflags: atariste %{__global_cflags}
optflags: ataritt %{__global_cflags}
optflags: falcon %{__global_cflags}
optflags: atariclone %{__global_cflags}
optflags: milan %{__global_cflags}
optflags: hades %{__global_cflags}
optflags: s390 %{__global_cflags} -m31 -march=z9-109 -mtune=z10
optflags: s390x %{__global_cflags} -m64 -march=z9-109 -mtune=z10
# set build arch to fedora buildarches on hardware capable of running it
# saves having to do rpmbuild --target=
buildarchtranslate: athlon: i586
buildarchtranslate: geode: i586
buildarchtranslate: pentium4: i586
buildarchtranslate: pentium3: i586
buildarchtranslate: i686: i586
buildarchtranslate: i586: i586
buildarchtranslate: sparcv9: sparcv9
buildarchtranslate: sparcv9v: sparcv9
buildarchtranslate: armv5tejl: armv5tel
buildarchtranslate: armv6l: armv5tel
buildarchtranslate: armv7l: armv5tel
macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros