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
|
2021-01-19 19:10:22 +00:00
|
|
|
optflags: x86_64 %{__global_compiler_flags} -m64 %{__cflags_arch_x86_64} -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2022-02-10 15:35:07 +00:00
|
|
|
optflags: ppc64le %{__global_compiler_flags} -m64 %{__cflags_arch_ppc64le} -fasynchronous-unwind-tables -fstack-clash-protection
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2022-03-17 17:52:42 +00:00
|
|
|
# TODO: Remove armv7hl once f36 goes EOL.
|
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
|
2003-02-13 16:33:31 +00:00
|
|
|
|
2020-10-05 11:38:25 +00:00
|
|
|
optflags: s390x %{__global_compiler_flags} -m64 %{__cflags_arch_s390x} -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
|
|
|
|
|
2011-07-02 08:55:37 +00:00
|
|
|
buildarchtranslate: armv7hl: armv7hl
|
2011-06-13 15:46:54 +00:00
|
|
|
buildarchtranslate: armv7hnl: armv7hl
|