2002-07-11 17:07:42 +00:00
|
|
|
include: /usr/lib/rpm/rpmrc
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2020-08-21 16:45:01 +00:00
|
|
|
optflags: i386 %{__global_compiler_flags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
|
|
|
optflags: i486 %{__global_compiler_flags} -m32 -march=i486 -fasynchronous-unwind-tables -fstack-clash-protection
|
|
|
|
optflags: i586 %{__global_compiler_flags} -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
|
|
|
optflags: i686 %{__global_compiler_flags} -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
|
|
|
|
optflags: athlon %{__global_compiler_flags} -m32 -march=athlon -fasynchronous-unwind-tables -fstack-clash-protection
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: ia64 %{__global_compiler_flags}
|
2020-08-21 16:45:01 +00:00
|
|
|
optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: alpha %{__global_compiler_flags} -mieee
|
|
|
|
optflags: alphaev5 %{__global_compiler_flags} -mieee -mcpu=ev5
|
|
|
|
optflags: alphaev56 %{__global_compiler_flags} -mieee -mcpu=ev56
|
|
|
|
optflags: alphapca56 %{__global_compiler_flags} -mieee -mcpu=pca56
|
|
|
|
optflags: alphaev6 %{__global_compiler_flags} -mieee -mcpu=ev6
|
|
|
|
optflags: alphaev67 %{__global_compiler_flags} -mieee -mcpu=ev67
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: sparc %{__global_compiler_flags} -m32 -mcpu=v7 -mtune=ultrasparc
|
|
|
|
optflags: sparcv8 %{__global_compiler_flags} -m32 -mcpu=v8
|
|
|
|
optflags: sparcv9 %{__global_compiler_flags} -m32 -mcpu=ultrasparc
|
|
|
|
optflags: sparcv9v %{__global_compiler_flags} -m32 -mcpu=niagara
|
|
|
|
optflags: sparc64 %{__global_compiler_flags} -m64 -mcpu=ultrasparc
|
|
|
|
optflags: sparc64v %{__global_compiler_flags} -m64 -mcpu=niagara
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: m68k %{__global_compiler_flags}
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2018-05-02 09:55:12 +00:00
|
|
|
optflags: ppc %{__global_compiler_flags} -m32 -fasynchronous-unwind-tables
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: ppciseries %{__global_compiler_flags} -m32
|
|
|
|
optflags: ppcpseries %{__global_compiler_flags} -m32
|
2020-08-21 16:45:01 +00:00
|
|
|
optflags: ppc64 %{__global_compiler_flags} -m64 -fasynchronous-unwind-tables -fstack-clash-protection
|
|
|
|
optflags: ppc64p7 %{__global_compiler_flags} -m64 -O3 -mcpu=power7 -mtune=power7 -fasynchronous-unwind-tables -fstack-clash-protection
|
|
|
|
optflags: ppc64le %{__global_compiler_flags} -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: ppc64iseries %{__global_compiler_flags} -m64
|
|
|
|
optflags: ppc64pseries %{__global_compiler_flags} -m64
|
|
|
|
optflags: ppc8260 %{__global_compiler_flags} -m32
|
|
|
|
optflags: ppc8560 %{__global_compiler_flags} -m32
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: parisc %{__global_compiler_flags} -mpa-risc-1-0
|
|
|
|
optflags: hppa1.0 %{__global_compiler_flags} -mpa-risc-1-0
|
|
|
|
optflags: hppa1.1 %{__global_compiler_flags} -mpa-risc-1-0
|
|
|
|
optflags: hppa1.2 %{__global_compiler_flags} -mpa-risc-1-0
|
|
|
|
optflags: hppa2.0 %{__global_compiler_flags} -mpa-risc-1-0
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: mips %{__global_compiler_flags} -march=mips32r2 -mfpxx
|
|
|
|
optflags: mipsel %{__global_compiler_flags} -march=mips32r2 -mfpxx
|
|
|
|
optflags: mips64 %{__global_compiler_flags} -march=mips64r2 -mabi=64
|
|
|
|
optflags: mips64el %{__global_compiler_flags} -march=mips64r2 -mabi=64
|
|
|
|
optflags: mipsr6 %{__global_compiler_flags} -march=mips32r6
|
|
|
|
optflags: mipsr6el %{__global_compiler_flags} -march=mips32r6
|
|
|
|
optflags: mips64r6 %{__global_compiler_flags} -march=mips64r6
|
|
|
|
optflags: mips64r6el %{__global_compiler_flags} -march=mips64r6
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: armv3l %{__global_compiler_flags} -fsigned-char -march=armv3
|
|
|
|
optflags: armv4b %{__global_compiler_flags} -fsigned-char -march=armv4
|
|
|
|
optflags: armv4l %{__global_compiler_flags} -fsigned-char -march=armv4
|
|
|
|
optflags: armv4tl %{__global_compiler_flags} -march=armv4t
|
|
|
|
optflags: armv5tel %{__global_compiler_flags} -march=armv5te -mfloat-abi=soft
|
|
|
|
optflags: armv5tejl %{__global_compiler_flags} -march=armv5te -mfloat-abi=soft
|
|
|
|
optflags: armv6l %{__global_compiler_flags} -march=armv6 -mfloat-abi=soft
|
|
|
|
optflags: armv6hl %{__global_compiler_flags} -march=armv6 -mfpu=vfp -mfloat-abi=hard
|
|
|
|
optflags: armv6hnl %{__global_compiler_flags} -march=armv6 -mfpu=neon -mfloat-abi=hard
|
|
|
|
optflags: armv7l %{__global_compiler_flags} -march=armv7-a -mfloat-abi=soft
|
2018-01-31 09:34:18 +00:00
|
|
|
optflags: armv7hl %{__global_compiler_flags} -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: armv7hnl %{__global_compiler_flags} -march=armv7-a -mfpu=neon -mfloat-abi=hard
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2016-11-30 11:34:38 +00:00
|
|
|
optflags: atarist %{__global_compiler_flags}
|
|
|
|
optflags: atariste %{__global_compiler_flags}
|
|
|
|
optflags: ataritt %{__global_compiler_flags}
|
|
|
|
optflags: falcon %{__global_compiler_flags}
|
|
|
|
optflags: atariclone %{__global_compiler_flags}
|
|
|
|
optflags: milan %{__global_compiler_flags}
|
|
|
|
optflags: hades %{__global_compiler_flags}
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2018-01-22 14:17:14 +00:00
|
|
|
optflags: s390 %{__global_compiler_flags} -m31 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables
|
2020-08-21 16:45:01 +00:00
|
|
|
optflags: s390x %{__global_compiler_flags} -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection
|
2010-01-22 13:03:53 +00:00
|
|
|
|
2020-07-17 18:29:54 +00:00
|
|
|
optflags: aarch64 %{__global_compiler_flags} -mbranch-protection=standard -fasynchronous-unwind-tables %[ "%{toolchain}" == "gcc" ? "-fstack-clash-protection" : "" ]
|
2013-04-23 04:31:50 +00:00
|
|
|
|
2020-06-03 19:03:31 +00:00
|
|
|
optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables %[ "%{toolchain}" == "gcc" ? "-fstack-clash-protection" : "" ]
|
2016-10-13 14:15:31 +00:00
|
|
|
|
2010-01-22 13:03:53 +00:00
|
|
|
# set build arch to fedora buildarches on hardware capable of running it
|
|
|
|
# saves having to do rpmbuild --target=
|
2010-01-22 13:15:22 +00:00
|
|
|
buildarchtranslate: athlon: i686
|
|
|
|
buildarchtranslate: geode: i686
|
|
|
|
buildarchtranslate: pentium4: i686
|
|
|
|
buildarchtranslate: pentium3: i686
|
|
|
|
buildarchtranslate: i686: i686
|
2010-01-22 13:03:53 +00:00
|
|
|
buildarchtranslate: i586: i586
|
|
|
|
|
|
|
|
buildarchtranslate: sparcv9: sparcv9
|
|
|
|
buildarchtranslate: sparcv9v: sparcv9
|
|
|
|
|
|
|
|
buildarchtranslate: armv5tejl: armv5tel
|
|
|
|
buildarchtranslate: armv6l: armv5tel
|
2011-09-28 14:45:25 +00:00
|
|
|
buildarchtranslate: armv7l: armv5tel
|
2011-07-02 08:55:37 +00:00
|
|
|
buildarchtranslate: armv7hl: armv7hl
|
2011-06-13 15:46:54 +00:00
|
|
|
buildarchtranslate: armv7hnl: armv7hl
|