# # @RPMVENDORDIR@/rpmrc ############################################################# # Values for RPM_OPT_FLAGS for various platforms optflags: i386 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i386 -fasynchronous-unwind-tables optflags: i486 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i486 -fasynchronous-unwind-tables optflags: i586 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables optflags: i686 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables optflags: athlon %{__common_cflags_with_ssp} -fomit-frame-pointer -march=athlon -fasynchronous-unwind-tables optflags: x86_64 %{__common_cflags_with_ssp} -fasynchronous-unwind-tables # Cortex A8 optflags: armv7 %{__common_cflags_with_ssp} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp optflags: armv7l %{__common_cflags_with_ssp} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp optflags: armv7hl %{__common_cflags_with_ssp} -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 optflags: armv7hnl %{__common_cflags_with_ssp} -march=armv7-a -mfloat-abi=hard -mfpu=neon optflags: aarch64 %{__common_cflags_with_ssp} -fasynchronous-unwind-tables ############################################################# # Canonical arch names and numbers arch_canon: x86_64: x86_64 19 ############################################################# # For a given uname().machine, the default build arch buildarchtranslate: athlon: i586 buildarchtranslate: pentium4: i586 buildarchtranslate: pentium3: i586 buildarchtranslate: i686: i586 buildarchtranslate: i586: i586 buildarchtranslate: i486: i486 buildarchtranslate: i386: i386 buildarchtranslate: armv7: armv5t buildarchtranslate: armv7l: @ARMV7CANONTARGETCPU@ buildarchtranslate: armv7hl: armv7hl buildarchtranslate: armv7hnl: armv7hl buildarchtranslate: armv8l: @ARMV8CANONTARGETCPU@ buildarchtranslate: armv8hl: @ARMV8CANONTARGETCPU@ buildarchtranslate: armv8hnl: @ARMV8CANONTARGETCPU@ buildarchtranslate: armv8hcnl: @ARMV8CANONTARGETCPU@ ############################################################# # Architecture compatibility arch_compat: armv8l: armv7hl