-#/*! \page config_rpmrc Default configuration: /usr/lib/rpm/rpmrc
+#/*! \page config_rpmrc Default configuration: @RPMCONFIGDIR@/rpmrc
# \verbatim
#
-# $Id: rpmrc.in,v 2.65.2.1 2004/11/22 21:41:28 jbj Exp $
-#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
# should be added to /etc/rpmrc, while per-user configuration should
#############################################################
# Values for RPM_OPT_FLAGS for various platforms
-optflags: i386 -O2 -g -march=i386 -mcpu=i686
+# "fat" binary with both archs, for Darwin
+optflags: fat -O2 -g -arch i386 -arch ppc
+
+optflags: i386 -O2 -g -march=i386 -mtune=i686
optflags: i486 -O2 -g -march=i486
optflags: i586 -O2 -g -march=i586
optflags: i686 -O2 -g -march=i686
optflags: pentium3 -O2 -g -march=pentium3
optflags: pentium4 -O2 -g -march=pentium4
optflags: athlon -O2 -g -march=athlon
+optflags: geode -Os -g -m32 -march=geode
optflags: ia64 -O2 -g
optflags: x86_64 -O2 -g
optflags: amd64 -O2 -g
optflags: ia32e -O2 -g
optflags: alpha -O2 -g -mieee
-optflags: alphaev5 -O2 -g -mieee -mcpu=ev5
-optflags: alphaev56 -O2 -g -mieee -mcpu=ev56
-optflags: alphapca56 -O2 -g -mieee -mcpu=pca56
-optflags: alphaev6 -O2 -g -mieee -mcpu=ev6
-optflags: alphaev67 -O2 -g -mieee -mcpu=ev67
+optflags: alphaev5 -O2 -g -mieee -mtune=ev5
+optflags: alphaev56 -O2 -g -mieee -mtune=ev56
+optflags: alphapca56 -O2 -g -mieee -mtune=pca56
+optflags: alphaev6 -O2 -g -mieee -mtune=ev6
+optflags: alphaev67 -O2 -g -mieee -mtune=ev67
optflags: sparc -O2 -g -m32 -mtune=ultrasparc
optflags: sparcv8 -O2 -g -m32 -mtune=ultrasparc -mv8
-optflags: sparcv9 -O2 -g -m32 -mcpu=ultrasparc
-optflags: sparc64 -O2 -g -m64 -mcpu=ultrasparc
+optflags: sparcv9 -O2 -g -m32 -mtune=ultrasparc
+optflags: sparcv9v -O2 -g -m32 -mtune=niagara
+optflags: sparc64 -O2 -g -m64 -mtune=ultrasparc
+optflags: sparc64v -O2 -g -m64 -mtune=niagara
optflags: m68k -O2 -g -fomit-frame-pointer
optflags: mips -O2 -g
optflags: mipsel -O2 -g
-optflags: armv3l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv3
-optflags: armv4b -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
-optflags: armv4l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
+optflags: armv3l -O2 -g -march=armv3
+optflags: armv4b -O2 -g -march=armv4
+optflags: armv4l -O2 -g -march=armv4
+optflags: armv4tl -O2 -g -march=armv4t
+optflags: armv5tel -O2 -g -march=armv5te
+optflags: armv5tejl -O2 -g -march=armv5te
+optflags: armv6l -O2 -g -march=armv6
+optflags: armv7l -O2 -g -march=armv7
optflags: atarist -O2 -g -fomit-frame-pointer
optflags: atariste -O2 -g -fomit-frame-pointer
optflags: s390 -O2 -g
optflags: s390x -O2 -g
+optflags: sh3 -O2 -g
+optflags: sh4 -O2 -g -mieee
+optflags: sh4a -O2 -g -mieee
+
#############################################################
# Canonical arch names and numbers
arch_canon: athlon: athlon 1
+arch_canon: geode: geode 1
arch_canon: pentium4: pentium4 1
arch_canon: pentium3: pentium3 1
arch_canon: i686: i686 1
# We always want to prefer sparc to sparc64.
arch_canon: sparc64:sparc64 2
arch_canon: sun4u: sparc64 2
+arch_canon: sparc64v: sparc64v 2
arch_canon: sparc: sparc 3
arch_canon: sun4: sparc 3
arch_canon: sun4d: sparc 3
arch_canon: sparcv8: sparcv8 3
arch_canon: sparcv9: sparcv9 3
+arch_canon: sparcv9v: sparcv9v 3
# This is really a place holder for MIPS.
arch_canon: mips: mips 4
arch_canon: armv3l: armv3l 12
arch_canon: armv4b: armv4b 12
arch_canon: armv4l: armv4l 12
+arch_canon: armv5tel: armv5tel 12
+arch_canon: armv5tejl: armv5tejl 12
+arch_canon: armv6l: armv6l 12
+arch_canon: armv7l: armv7l 12
arch_canon: m68kmint: m68kmint 13
arch_canon: atarist: m68kmint 13
arch_canon: ppc64iseries: ppc64iseries 16
arch_canon: sh: sh 17
+arch_canon: sh3: sh3 17
+arch_canon: sh4: sh4 17
+arch_canon: sh4a: sh4a 17
arch_canon: xtensa: xtensa 18
#############################################################
os_canon: Linux/390: OS/390 20
os_canon: Linux/ESA: VM/ESA 20
+os_canon: Darwin: darwin 21
+os_canon: MacOSX: macosx 21
+
#############################################################
# For a given uname().machine, the default build arch
buildarchtranslate: osfmach3_i386: i386
buildarchtranslate: athlon: i386
+buildarchtranslate: geode: i386
buildarchtranslate: pentium4: i386
buildarchtranslate: pentium3: i386
buildarchtranslate: i686: i386
buildarchtranslate: sun4m: sparc
buildarchtranslate: sparcv8: sparc
buildarchtranslate: sparcv9: sparc
+buildarchtranslate: sparcv9v: sparc
buildarchtranslate: sun4u: sparc64
+buildarchtranslate: sparc64v: sparc64
buildarchtranslate: osfmach3_ppc: ppc
buildarchtranslate: powerpc: ppc
buildarchtranslate: ppc32dy4: ppc
buildarchtranslate: ppciseries: ppc
buildarchtranslate: ppcpseries: ppc
+buildarchtranslate: ppc64iseries: ppc64
+buildarchtranslate: ppc64pseries: ppc64
+
+buildarchtranslate: armv3l: armv3l
+buildarchtranslate: armv4b: armv4b
+buildarchtranslate: armv4l: armv4l
+buildarchtranslate: armv4tl: armv4tl
+buildarchtranslate: armv5tel: armv5tel
+buildarchtranslate: armv5tejl: armv5tejl
+buildarchtranslate: armv6l: armv6l
+buildarchtranslate: armv7l: armv7l
buildarchtranslate: atarist: m68kmint
buildarchtranslate: atariste: m68kmint
buildarchtranslate: amd64: x86_64
buildarchtranslate: ia32e: x86_64
+buildarchtranslate: sh3: sh3
+buildarchtranslate: sh4: sh4
+buildarchtranslate: sh4a: sh4
+
#############################################################
# Architecture compatibility
arch_compat: alpha: axp noarch
arch_compat: athlon: i686
+arch_compat: geode: i586
arch_compat: pentium4: pentium3
arch_compat: pentium3: i686
arch_compat: i686: i586
arch_compat: i586: i486
arch_compat: i486: i386
-arch_compat: i386: noarch
+arch_compat: i386: noarch fat
arch_compat: osfmach3_i686: i686 osfmach3_i586
arch_compat: osfmach3_i586: i586 osfmach3_i486
arch_compat: ppcpseries: ppc
arch_compat: ppc64: ppc
arch_compat: ppc: rs6000
-arch_compat: rs6000: noarch
+arch_compat: rs6000: noarch fat
arch_compat: ppc64pseries: ppc64
arch_compat: ppc64iseries: ppc64
arch_compat: sun4d: sparc
arch_compat: sun4m: sparc
arch_compat: sun4u: sparc64
+arch_compat: sparc64v: sparc64
arch_compat: sparc64: sparcv9
-arch_compat: sparcv9: sparc
+arch_compat: sparcv9v: sparcv9
+arch_compat: sparcv9: sparcv8
arch_compat: sparcv8: sparc
arch_compat: sparc: noarch
arch_compat: parisc: noarch
arch_compat: armv4b: noarch
+arch_compat: armv7l: armv6l
+arch_compat: armv6l: armv5tejl
+arch_compat: armv5tejl: armv5tel
+arch_compat: armv5tel: armv4tl
+arch_compat: armv4tl: armv4l
arch_compat: armv4l: armv3l
arch_compat: armv3l: noarch
arch_compat: amd64: x86_64 athlon noarch
arch_compat: ia32e: x86_64 athlon noarch
+arch_compat: sh3: noarch
+arch_compat: sh4: noarch
+arch_compat: sh4a: sh4
+
os_compat: IRIX64: IRIX
os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
os_compat: BSD_OS: bsdi
os_compat: bsdi4.0: bsdi
+os_compat: Darwin: MacOSX
+
buildarch_compat: ia64: noarch
buildarch_compat: athlon: i686
+buildarch_compat: geode: i586
buildarch_compat: pentium4: pentium3
buildarch_compat: pentium3: i686
buildarch_compat: i686: i586
buildarch_compat: i586: i486
buildarch_compat: i486: i386
-buildarch_compat: i386: noarch
+buildarch_compat: i386: noarch fat
buildarch_compat: sun4c: noarch
buildarch_compat: sun4d: noarch
buildarch_compat: sun4m: noarch
buildarch_compat: sun4u: noarch
-buildarch_compat: sparc64: noarch
-buildarch_compat: sparcv9: sparc
+buildarch_compat: sparc64v: sparc64
+buildarch_compat: sparc64: sparcv9v
+buildarch_compat: sparcv9v: sparcv9
+buildarch_compat: sparcv9: sparcv8
+buildarch_compat: sparcv8: sparc
buildarch_compat: sparc: noarch
buildarch_compat: alphaev67: alphaev6
buildarch_compat: ppc32dy4: noarch
buildarch_compat: ppciseries: noarch
buildarch_compat: ppcpseries: noarch
-buildarch_compat: ppc: noarch
-buildarch_compat: ppc64: noarch
+buildarch_compat: ppc: noarch fat
+buildarch_compat: ppc64: noarch fat
buildarch_compat: ppc64pseries: ppc64
buildarch_compat: ppc64iseries: ppc64
buildarch_compat: mips: noarch
buildarch_compat: mipsel: noarch
-buildarch_compat: armv3l: noarch
buildarch_compat: armv4b: noarch
-buildarch_compat: armv4l: noarch
+buildarch_compat: armv7l: armv6l
+buildarch_compat: armv6l: armv5tejl
+buildarch_compat: armv5tejl: armv5tel
+buildarch_compat: armv5tel: armv4tl
+buildarch_compat: armv4tl: armv4l
+buildarch_compat: armv4l: armv3l
+buildarch_compat: armv3l: noarch
buildarch_compat: hppa2.0: hppa1.2
buildarch_compat: hppa1.2: hppa1.1
buildarch_compat: amd64: x86_64
buildarch_compat: ia32e: x86_64
-macrofiles: @RPMCONFIGDIR@/macros:@RPMCONFIGDIR@/%{_target}/macros:@SYSCONFIGDIR@/macros.*:@SYSCONFIGDIR@/macros:@SYSCONFIGDIR@/%{_target}/macros:~/.rpmmacros
+buildarch_compat: sh3: noarch
+buildarch_compat: sh4: noarch
+buildarch_compat: sh4a: sh4
# \endverbatim
#*/