# # @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: k6 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=k6 -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: pentium3 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=pentium3 -fasynchronous-unwind-tables optflags: pentium4 %{__common_cflags_with_ssp} -fomit-frame-pointer -march=pentium4 -fasynchronous-unwind-tables optflags: x86_64 %{__common_cflags_with_ssp} -fasynchronous-unwind-tables optflags: amd64 %{__common_cflags_with_ssp} optflags: ia32e %{__common_cflags_with_ssp} optflags: ia64 %{__common_cflags} # XXX Please note that -mieee has been added in rpm-3.0.5. optflags: alpha %{__common_cflags} -mieee -mcpu=ev5 optflags: alphaev5 %{__common_cflags} -mieee -mcpu=ev5 optflags: alphaev56 %{__common_cflags} -mieee -mcpu=ev56 optflags: alphapca56 %{__common_cflags} -mieee -mcpu=pca56 optflags: alphaev6 %{__common_cflags} -mieee -mcpu=ev6 optflags: alphaev67 %{__common_cflags} -mieee -mcpu=ev67 optflags: sparc %{__common_cflags} -m32 -mtune=ultrasparc optflags: sparcv9 %{__common_cflags} -m32 -mcpu=ultrasparc optflags: sparc64 %{__common_cflags} -m64 -mcpu=ultrasparc optflags: m68k %{__common_cflags} -fomit-frame-pointer optflags: ppc %{__common_cflags_with_ssp} -fsigned-char -mcpu=750 -mtune=7450 optflags: ppciseries %{__common_cflags_with_ssp} -fsigned-char optflags: ppcpseries %{__common_cflags_with_ssp} -fsigned-char optflags: ppc32 %{__common_cflags_with_ssp} -m32 -fsigned-char -mcpu=power4 -mtune=cell optflags: ppc64 %{__common_cflags_with_ssp} -m64 -fsigned-char -mcpu=power4 -mtune=cell optflags: parisc %{__common_cflags} -mpa-risc-1-0 optflags: hppa1.0 %{__common_cflags} -mpa-risc-1-0 optflags: hppa1.1 %{__common_cflags} -mpa-risc-1-0 optflags: hppa1.2 %{__common_cflags} -mpa-risc-1-0 optflags: hppa2.0 %{__common_cflags} -mpa-risc-1-0 optflags: mips %{__common_cflags} -march=mips3 optflags: mipsel %{__common_cflags} -march=mips3 optflags: mips32el %{__common_cflags} -march=mips3 -mabi=n32 optflags: mips64el %{__common_cflags} -march=mips3 -mabi=64 optflags: armv3l %{__common_cflags} -march=armv3 optflags: armv4b %{__common_cflags} -march=armv4 optflags: armv4l %{__common_cflags} -march=armv4 optflags: armv4t %{__common_cflags} -march=armv4t optflags: armv4tl %{__common_cflags} -march=armv4t optflags: armv5t %{__common_cflags} -march=armv5t optflags: armv5tl %{__common_cflags} -march=armv5t # Cortex A8 optflags: armv7 %{__common_cflags} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp optflags: armv7l %{__common_cflags} -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp optflags: armv7hl %{__common_cflags} -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 optflags: armv7hnl %{__common_cflags} -march=armv7-a -mfloat-abi=hard -mfpu=neon optflags: aarch64 %{__common_cflags_with_ssp} -fasynchronous-unwind-tables optflags: atarist %{__common_cflags} -fomit-frame-pointer optflags: atariste %{__common_cflags} -fomit-frame-pointer optflags: ataritt %{__common_cflags} -fomit-frame-pointer optflags: falcon %{__common_cflags} -fomit-frame-pointer optflags: atariclone %{__common_cflags} -fomit-frame-pointer optflags: milan %{__common_cflags} -fomit-frame-pointer optflags: hades %{__common_cflags} -fomit-frame-pointer optflags: s390 %{__common_cflags_with_ssp} optflags: s390x %{__common_cflags_with_ssp} ############################################################# # Canonical arch names and numbers arch_canon: sparc64:sparc64 10 arch_canon: sun4u: sparc64 10 arch_canon: x86_64: x86_64 19 ############################################################# # Canonical OS names and numbers ############################################################# # For a given uname().machine, the default build arch buildarchtranslate: athlon: i586 buildarchtranslate: pentium4: i586 buildarchtranslate: pentium3: i586 buildarchtranslate: i686: i586 buildarchtranslate: k6: i586 buildarchtranslate: i586: i586 buildarchtranslate: i486: i486 buildarchtranslate: i386: i386 buildarchtranslate: i386: i386 buildarchtranslate: armv5tel: armv5tl buildarchtranslate: armv5t: armv5t 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: k6: i586 arch_compat: osfmach3_i686: i686 osfmach3_i586 arch_compat: osfmach3_i586: i586 osfmach3_i486 arch_compat: osfmach3_i486: i486 osfmach3_i386 arch_compat: osfmach3_i386: i486 arch_compat: armv8l: armv7hl buildarch_compat: k6: i486