aboutsummaryrefslogtreecommitdiffstats
path: root/rpmrc.in
blob: 258049d69f332fe64863197a8c40ba6677fc6c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# $Id$
#
# @RPMVENDORDIR@/rpmrc

# Getting default rpm configuration

#############################################################
# 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.cdb:@RPMSYSCONFDIR@/macros.d/*.macros:~/.rpmmacros