Blame SOURCES/rpmrc

f9efe2
include: /usr/lib/rpm/rpmrc
f9efe2
f9efe2
optflags: i386 %{__global_compiler_flags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
optflags: i486 %{__global_compiler_flags} -m32 -march=i486 -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
optflags: i586 %{__global_compiler_flags} -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
optflags: i686 %{__global_compiler_flags} -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
f9efe2
optflags: athlon %{__global_compiler_flags} -m32 -march=athlon -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
optflags: ia64 %{__global_compiler_flags}
f9efe2
optflags: x86_64 %{__global_compiler_flags} -m64 %{__cflags_arch_x86_64} -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
f9efe2
f9efe2
optflags: alpha %{__global_compiler_flags} -mieee
f9efe2
optflags: alphaev5 %{__global_compiler_flags} -mieee -mcpu=ev5
f9efe2
optflags: alphaev56 %{__global_compiler_flags} -mieee -mcpu=ev56
f9efe2
optflags: alphapca56 %{__global_compiler_flags} -mieee -mcpu=pca56
f9efe2
optflags: alphaev6 %{__global_compiler_flags} -mieee -mcpu=ev6
f9efe2
optflags: alphaev67 %{__global_compiler_flags} -mieee -mcpu=ev67
f9efe2
f9efe2
optflags: sparc %{__global_compiler_flags} -m32 -mcpu=v7 -mtune=ultrasparc
f9efe2
optflags: sparcv8 %{__global_compiler_flags} -m32 -mcpu=v8
f9efe2
optflags: sparcv9 %{__global_compiler_flags} -m32 -mcpu=ultrasparc
f9efe2
optflags: sparcv9v %{__global_compiler_flags} -m32 -mcpu=niagara
f9efe2
optflags: sparc64 %{__global_compiler_flags} -m64 -mcpu=ultrasparc
f9efe2
optflags: sparc64v %{__global_compiler_flags} -m64 -mcpu=niagara
f9efe2
f9efe2
optflags: m68k %{__global_compiler_flags}
f9efe2
f9efe2
optflags: ppc %{__global_compiler_flags} -m32 -fasynchronous-unwind-tables
f9efe2
optflags: ppciseries %{__global_compiler_flags} -m32
f9efe2
optflags: ppcpseries %{__global_compiler_flags} -m32
f9efe2
optflags: ppc64 %{__global_compiler_flags} -m64 -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
optflags: ppc64p7 %{__global_compiler_flags} -m64 -O3 -mcpu=power7 -mtune=power7 -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
optflags: ppc64le %{__global_compiler_flags} -m64 %{__cflags_arch_ppc64le} -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
optflags: ppc64iseries %{__global_compiler_flags} -m64
f9efe2
optflags: ppc64pseries %{__global_compiler_flags} -m64
f9efe2
optflags: ppc8260 %{__global_compiler_flags} -m32
f9efe2
optflags: ppc8560 %{__global_compiler_flags} -m32
f9efe2
f9efe2
optflags: parisc %{__global_compiler_flags} -mpa-risc-1-0
f9efe2
optflags: hppa1.0 %{__global_compiler_flags} -mpa-risc-1-0
f9efe2
optflags: hppa1.1 %{__global_compiler_flags} -mpa-risc-1-0
f9efe2
optflags: hppa1.2 %{__global_compiler_flags} -mpa-risc-1-0
f9efe2
optflags: hppa2.0 %{__global_compiler_flags} -mpa-risc-1-0
f9efe2
f9efe2
optflags: mips %{__global_compiler_flags} -march=mips32r2 -mfpxx
f9efe2
optflags: mipsel %{__global_compiler_flags} -march=mips32r2 -mfpxx
f9efe2
optflags: mips64 %{__global_compiler_flags} -march=mips64r2 -mabi=64
f9efe2
optflags: mips64el %{__global_compiler_flags} -march=mips64r2 -mabi=64
f9efe2
optflags: mipsr6 %{__global_compiler_flags} -march=mips32r6
f9efe2
optflags: mipsr6el %{__global_compiler_flags} -march=mips32r6
f9efe2
optflags: mips64r6 %{__global_compiler_flags} -march=mips64r6
f9efe2
optflags: mips64r6el %{__global_compiler_flags} -march=mips64r6
f9efe2
f9efe2
optflags: armv3l %{__global_compiler_flags} -fsigned-char -march=armv3
f9efe2
optflags: armv4b %{__global_compiler_flags} -fsigned-char -march=armv4
f9efe2
optflags: armv4l %{__global_compiler_flags} -fsigned-char -march=armv4
f9efe2
optflags: armv4tl %{__global_compiler_flags} -march=armv4t
f9efe2
optflags: armv5tel %{__global_compiler_flags} -march=armv5te -mfloat-abi=soft
f9efe2
optflags: armv5tejl %{__global_compiler_flags} -march=armv5te -mfloat-abi=soft
f9efe2
optflags: armv6l %{__global_compiler_flags} -march=armv6 -mfloat-abi=soft
f9efe2
optflags: armv6hl %{__global_compiler_flags} -march=armv6 -mfpu=vfp -mfloat-abi=hard
f9efe2
optflags: armv6hnl %{__global_compiler_flags} -march=armv6 -mfpu=neon -mfloat-abi=hard
f9efe2
optflags: armv7l %{__global_compiler_flags} -march=armv7-a -mfloat-abi=soft
f9efe2
optflags: armv7hl %{__global_compiler_flags} -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard
f9efe2
optflags: armv7hnl %{__global_compiler_flags} -march=armv7-a -mfpu=neon  -mfloat-abi=hard
f9efe2
f9efe2
optflags: atarist %{__global_compiler_flags}
f9efe2
optflags: atariste %{__global_compiler_flags}
f9efe2
optflags: ataritt %{__global_compiler_flags}
f9efe2
optflags: falcon %{__global_compiler_flags}
f9efe2
optflags: atariclone %{__global_compiler_flags}
f9efe2
optflags: milan %{__global_compiler_flags}
f9efe2
optflags: hades %{__global_compiler_flags}
f9efe2
f9efe2
optflags: s390 %{__global_compiler_flags} -m31 %{__cflags_arch_s390x} -fasynchronous-unwind-tables
f9efe2
optflags: s390x %{__global_compiler_flags} -m64 %{__cflags_arch_s390x} -fasynchronous-unwind-tables -fstack-clash-protection
f9efe2
f9efe2
optflags: aarch64 %{__global_compiler_flags} -fasynchronous-unwind-tables %[ "%{toolchain}" == "gcc" ? "-fstack-clash-protection" : "" ]
f9efe2
f9efe2
optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables %[ "%{toolchain}" == "gcc" ? "-fstack-clash-protection" : "" ]
f9efe2
f9efe2
# set build arch to fedora buildarches on hardware capable of running it
f9efe2
# saves having to do rpmbuild --target=
f9efe2
buildarchtranslate: athlon: i686
f9efe2
buildarchtranslate: geode: i686
f9efe2
buildarchtranslate: pentium4: i686
f9efe2
buildarchtranslate: pentium3: i686
f9efe2
buildarchtranslate: i686: i686
f9efe2
buildarchtranslate: i586: i586
f9efe2
f9efe2
buildarchtranslate: sparcv9: sparcv9
f9efe2
buildarchtranslate: sparcv9v: sparcv9
f9efe2
f9efe2
buildarchtranslate: armv5tejl: armv5tel
f9efe2
buildarchtranslate: armv6l: armv5tel
f9efe2
buildarchtranslate: armv7l: armv5tel
f9efe2
buildarchtranslate: armv7hl: armv7hl
f9efe2
buildarchtranslate: armv7hnl: armv7hl