diff options
Diffstat (limited to 'rpmrc.in')
-rw-r--r-- | rpmrc.in | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/rpmrc.in b/rpmrc.in new file mode 100644 index 0000000..7f93158 --- /dev/null +++ b/rpmrc.in @@ -0,0 +1,95 @@ +# $Id$ +# +# @RPMVENDORDIR@/rpmrc + +############################################################# +# Values for RPM_OPT_FLAGS for various platforms + +optflags: i386 -O2 -fomit-frame-pointer -pipe -march=i386 %{debugcflags} +optflags: i486 -O2 -fomit-frame-pointer -pipe -march=i486 %{debugcflags} +optflags: k6 -O2 -fomit-frame-pointer -pipe -march=k6 %{debugcflags} +optflags: i586 -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro %{debugcflags} +optflags: i686 -O2 -fomit-frame-pointer -pipe -march=i686 %{debugcflags} +optflags: athlon -O2 -fomit-frame-pointer -pipe -march=athlon %{debugcflags} +optflags: ia64 -O2 -pipe %{debugcflags} +optflags: x86_64 -O2 -pipe %{debugcflags} +optflags: amd64 -O2 -pipe %{debugcflags} +optflags: ia32e -O2 -pipe %{debugcflags} + + # XXX Please note that -mieee has been added in rpm-3.0.5. +optflags: alpha -O2 -mieee -mcpu=ev5 -pipe %{debugcflags} +optflags: alphaev5 -O2 -mieee -mcpu=ev5 -pipe %{debugcflags} +optflags: alphaev56 -O2 -mieee -mcpu=ev56 -pipe %{debugcflags} +optflags: alphapca56 -O2 -mieee -mcpu=pca56 -pipe %{debugcflags} +optflags: alphaev6 -O2 -mieee -mcpu=ev6 -pipe %{debugcflags} +optflags: alphaev67 -O2 -mieee -mcpu=ev67 -pipe %{debugcflags} + +optflags: sparc -O2 -m32 -mtune=ultrasparc %{debugcflags} +optflags: sparcv9 -O2 -m32 -mcpu=ultrasparc %{debugcflags} +optflags: sparc64 -O2 -m64 -mcpu=ultrasparc %{debugcflags} + +optflags: m68k -O2 %{debugcflags} -fomit-frame-pointer + +optflags: ppc -O2 -fsigned-char -frename-registers -mcpu=750 -mtune=7450 -pipe %{debugcflags} +optflags: ppciseries -O2 %{debugcflags} -fsigned-char +optflags: ppcpseries -O2 %{debugcflags} -fsigned-char +optflags: ppc64 -O2 %{debugcflags} -fsigned-char + +optflags: parisc -O2 %{debugcflags} -mpa-risc-1-0 +optflags: hppa1.0 -O2 %{debugcflags} -mpa-risc-1-0 +optflags: hppa1.1 -O2 %{debugcflags} -mpa-risc-1-0 +optflags: hppa1.2 -O2 %{debugcflags} -mpa-risc-1-0 +optflags: hppa2.0 -O2 %{debugcflags} -mpa-risc-1-0 + +optflags: mips -O2 %{debugcflags} +optflags: mipsel -O2 %{debugcflags} + +optflags: armv3l -O2 %{debugcflags} -fsigned-char -fomit-frame-pointer -march=armv3 +optflags: armv4b -O2 %{debugcflags} -fsigned-char -fomit-frame-pointer -march=armv4 +optflags: armv4l -O2 %{debugcflags} -fsigned-char -fomit-frame-pointer -march=armv4 + +optflags: atarist -O2 %{debugcflags} -fomit-frame-pointer +optflags: atariste -O2 %{debugcflags} -fomit-frame-pointer +optflags: ataritt -O2 %{debugcflags} -fomit-frame-pointer +optflags: falcon -O2 %{debugcflags} -fomit-frame-pointer +optflags: atariclone -O2 %{debugcflags} -fomit-frame-pointer +optflags: milan -O2 %{debugcflags} -fomit-frame-pointer +optflags: hades -O2 %{debugcflags} -fomit-frame-pointer + +optflags: s390 -O2 %{debugcflags} +optflags: s390x -O2 %{debugcflags} + +############################################################# +# 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: i686: i586 +buildarchtranslate: k6: i586 +buildarchtranslate: i586: i586 +buildarchtranslate: i486: i486 +buildarchtranslate: i386: i386 + +############################################################# +# 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 + +buildarch_compat: k6: i486 + +macrofiles: @RPMLIBDIR@/macros:@RPMLIBDIR@/%{target}/macros:@RPMVENDORDIR@/macros:@RPMVENDORDIR@/%{_target}/macros:@RPMSYSCONFDIR@/macros:@RPMSYSCONFDIR@/%{_target}/macros:@RPMSYSCONFDIR@/macros.d/*.macros:~/.rpmmacros |