1 #/*! \page config_rpmrc Default configuration: /usr/lib/rpm/rpmrc
4 # $Id: rpmrc.in,v 2.63 2004/05/26 21:10:07 jbj Exp $
6 # This is a global RPM configuration file. All changes made here will
7 # be lost when the rpm package is upgraded. Any per-system configuration
8 # should be added to /etc/rpmrc, while per-user configuration should
9 # be added to ~/.rpmrc.
11 #############################################################
12 # Values for RPM_OPT_FLAGS for various platforms
14 optflags: i386 -O2 -g -march=i386 -mcpu=i686
15 optflags: i486 -O2 -g -march=i486
16 optflags: i586 -O2 -g -march=i586
17 optflags: i686 -O2 -g -march=i686
18 optflags: pentium3 -O2 -g -march=pentium3
19 optflags: pentium4 -O2 -g -march=pentium4
20 optflags: athlon -O2 -g -march=athlon
22 optflags: x86_64 -O2 -g
23 optflags: amd64 -O2 -g
24 optflags: ia32e -O2 -g
26 optflags: alpha -O2 -g -mieee
27 optflags: alphaev5 -O2 -g -mieee -mcpu=ev5
28 optflags: alphaev56 -O2 -g -mieee -mcpu=ev56
29 optflags: alphapca56 -O2 -g -mieee -mcpu=pca56
30 optflags: alphaev6 -O2 -g -mieee -mcpu=ev6
31 optflags: alphaev67 -O2 -g -mieee -mcpu=ev67
33 optflags: sparc -O2 -g -m32 -mtune=ultrasparc
34 optflags: sparcv8 -O2 -g -m32 -mcpu=ultrasparc -mv8
35 optflags: sparcv9 -O2 -g -m32 -mcpu=ultrasparc
36 optflags: sparc64 -O2 -g -m64 -mcpu=ultrasparc
38 optflags: m68k -O2 -g -fomit-frame-pointer
40 optflags: ppc -O2 -g -fsigned-char
41 optflags: ppciseries -O2 -g -fsigned-char
42 optflags: ppcpseries -O2 -g -fsigned-char
43 optflags: ppc64 -O2 -g -fsigned-char
45 optflags: parisc -O2 -g -mpa-risc-1-0
46 optflags: hppa1.0 -O2 -g -mpa-risc-1-0
47 optflags: hppa1.1 -O2 -g -mpa-risc-1-0
48 optflags: hppa1.2 -O2 -g -mpa-risc-1-0
49 optflags: hppa2.0 -O2 -g -mpa-risc-1-0
52 optflags: mipsel -O2 -g
54 optflags: armv3l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv3
55 optflags: armv4b -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
56 optflags: armv4l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
58 optflags: atarist -O2 -g -fomit-frame-pointer
59 optflags: atariste -O2 -g -fomit-frame-pointer
60 optflags: ataritt -O2 -g -fomit-frame-pointer
61 optflags: falcon -O2 -g -fomit-frame-pointer
62 optflags: atariclone -O2 -g -fomit-frame-pointer
63 optflags: milan -O2 -g -fomit-frame-pointer
64 optflags: hades -O2 -g -fomit-frame-pointer
67 optflags: s390x -O2 -g
69 #############################################################
70 # Canonical arch names and numbers
72 arch_canon: athlon: athlon 1
73 arch_canon: pentium4: pentium4 1
74 arch_canon: pentium3: pentium3 1
75 arch_canon: i686: i686 1
76 arch_canon: i586: i586 1
77 arch_canon: i486: i486 1
78 arch_canon: i386: i386 1
79 arch_canon: x86_64: x86_64 1
80 arch_canon: amd64: amd64 1
81 arch_canon: ia32e: ia32e 1
83 arch_canon: alpha: alpha 2
84 arch_canon: alphaev5: alphaev5 2
85 arch_canon: alphaev56: alphaev56 2
86 arch_canon: alphapca56:alphapca56 2
87 arch_canon: alphaev6: alphaev6 2
88 arch_canon: alphaev67: alphaev67 2
89 # We always want to prefer sparc to sparc64.
90 arch_canon: sparc64:sparc64 2
91 arch_canon: sun4u: sparc64 2
93 arch_canon: sparc: sparc 3
94 arch_canon: sun4: sparc 3
95 arch_canon: sun4m: sparc 3
96 arch_canon: sun4c: sparc 3
97 arch_canon: sun4d: sparc 3
98 arch_canon: sparcv8: sparcv8 3
99 arch_canon: sparcv9: sparcv9 3
100 # This is really a place holder for MIPS.
101 arch_canon: mips: mips 4
103 arch_canon: ppc: ppc 5
104 arch_canon: ppciseries: ppciseries 5
105 arch_canon: ppcpseries: ppcpseries 5
107 arch_canon: m68k: m68k 6
108 arch_canon: IP: sgi 7
109 arch_canon: rs6000: rs6000 8
110 arch_canon: ia64: ia64 9
112 arch_canon: mipsel: mipsel 11
114 arch_canon: armv3l: armv3l 12
115 arch_canon: armv4b: armv4b 12
116 arch_canon: armv4l: armv4l 12
118 arch_canon: m68kmint: m68kmint 13
119 arch_canon: atarist: m68kmint 13
120 arch_canon: atariste: m68kmint 13
121 arch_canon: ataritt: m68kmint 13
122 arch_canon: falcon: m68kmint 13
123 arch_canon: atariclone: m68kmint 13
124 arch_canon: milan: m68kmint 13
125 arch_canon: hades: m68kmint 13
127 arch_canon: s390: s390 14
128 arch_canon: i370: i370 14
129 arch_canon: s390x: s390x 15
131 arch_canon: ppc64: ppc64 16
132 arch_canon: ppc64pseries: ppc64pseries 16
133 arch_canon: ppc64iseries: ppc64iseries 16
135 arch_canon: sh: sh 17
136 arch_canon: xtensa: xtensa 18
138 #############################################################
139 # Canonical OS names and numbers
141 os_canon: Linux: Linux 1
142 os_canon: IRIX: Irix 2
144 os_canon: SunOS5: solaris 3
145 os_canon: SunOS4: SunOS 4
147 os_canon: AmigaOS: AmigaOS 5
149 os_canon: HP-UX: hpux10 6
150 os_canon: OSF1: osf1 7
151 os_canon: osf4.0: osf1 7
152 os_canon: osf3.2: osf1 7
153 os_canon: FreeBSD: FreeBSD 8
154 os_canon: SCO_SV: SCO_SV3.2v5.0.2 9
155 os_canon: IRIX64: Irix64 10
156 os_canon: NEXTSTEP: NextStep 11
157 os_canon: BSD_OS: bsdi 12
158 os_canon: machten: machten 13
159 os_canon: CYGWIN32_NT: cygwin32 14
160 os_canon: CYGWIN32_95: cygwin32 15
161 os_canon: UNIX_SV: MP_RAS: 16
162 os_canon: MiNT: FreeMiNT 17
163 os_canon: OS/390: OS/390 18
164 os_canon: VM/ESA: VM/ESA 19
165 os_canon: Linux/390: OS/390 20
166 os_canon: Linux/ESA: VM/ESA 20
168 #############################################################
169 # For a given uname().machine, the default build arch
171 buildarchtranslate: osfmach3_i686: i386
172 buildarchtranslate: osfmach3_i586: i386
173 buildarchtranslate: osfmach3_i486: i386
174 buildarchtranslate: osfmach3_i386: i386
176 buildarchtranslate: athlon: i386
177 buildarchtranslate: pentium4: i386
178 buildarchtranslate: pentium3: i386
179 buildarchtranslate: i686: i386
180 buildarchtranslate: i586: i386
181 buildarchtranslate: i486: i386
182 buildarchtranslate: i386: i386
184 buildarchtranslate: alphaev5: alpha
185 buildarchtranslate: alphaev56: alpha
186 buildarchtranslate: alphapca56: alpha
187 buildarchtranslate: alphaev6: alpha
188 buildarchtranslate: alphaev67: alpha
190 buildarchtranslate: sun4c: sparc
191 buildarchtranslate: sun4d: sparc
192 buildarchtranslate: sun4m: sparc
193 buildarchtranslate: sparcv8: sparc
194 buildarchtranslate: sparcv9: sparc
195 buildarchtranslate: sun4u: sparc64
197 buildarchtranslate: osfmach3_ppc: ppc
198 buildarchtranslate: powerpc: ppc
199 buildarchtranslate: powerppc: ppc
200 buildarchtranslate: ppciseries: ppc
201 buildarchtranslate: ppcpseries: ppc
203 buildarchtranslate: atarist: m68kmint
204 buildarchtranslate: atariste: m68kmint
205 buildarchtranslate: ataritt: m68kmint
206 buildarchtranslate: falcon: m68kmint
207 buildarchtranslate: atariclone: m68kmint
208 buildarchtranslate: milan: m68kmint
209 buildarchtranslate: hades: m68kmint
211 buildarchtranslate: s390: s390
212 buildarchtranslate: s390x: s390x
214 buildarchtranslate: ia64: ia64
216 buildarchtranslate: x86_64: x86_64
217 buildarchtranslate: amd64: x86_64
218 buildarchtranslate: ia32e: x86_64
220 #############################################################
221 # Architecture compatibility
223 arch_compat: alphaev67: alphaev6
224 arch_compat: alphaev6: alphapca56
225 arch_compat: alphapca56: alphaev56
226 arch_compat: alphaev56: alphaev5
227 arch_compat: alphaev5: alpha
228 arch_compat: alpha: axp noarch
230 arch_compat: athlon: i686
231 arch_compat: pentium4: pentium3
232 arch_compat: pentium3: i686
233 arch_compat: i686: i586
234 arch_compat: i586: i486
235 arch_compat: i486: i386
236 arch_compat: i386: noarch
238 arch_compat: osfmach3_i686: i686 osfmach3_i586
239 arch_compat: osfmach3_i586: i586 osfmach3_i486
240 arch_compat: osfmach3_i486: i486 osfmach3_i386
241 arch_compat: osfmach3_i386: i486
243 arch_compat: osfmach3_ppc: ppc
244 arch_compat: powerpc: ppc
245 arch_compat: powerppc: ppc
246 arch_compat: ppciseries: ppc
247 arch_compat: ppcpseries: ppc
248 arch_compat: ppc64: ppc
249 arch_compat: ppc: rs6000
250 arch_compat: rs6000: noarch
251 arch_compat: ppc64pseries: ppc64
252 arch_compat: ppc64iseries: ppc64
254 arch_compat: sun4c: sparc
255 arch_compat: sun4d: sparc
256 arch_compat: sun4m: sparc
257 arch_compat: sun4u: sparc64
258 arch_compat: sparc64: sparcv9
259 arch_compat: sparcv9: sparc
260 arch_compat: sparcv8: sparc
261 arch_compat: sparc: noarch
263 arch_compat: mips: noarch
264 arch_compat: mipsel: noarch
266 arch_compat: hppa2.0: hppa1.2
267 arch_compat: hppa1.2: hppa1.1
268 arch_compat: hppa1.1: hppa1.0
269 arch_compat: hppa1.0: parisc
270 arch_compat: parisc: noarch
272 arch_compat: armv4b: noarch
273 arch_compat: armv4l: armv3l
274 arch_compat: armv3l: noarch
276 arch_compat: atarist: m68kmint noarch
277 arch_compat: atariste: m68kmint noarch
278 arch_compat: ataritt: m68kmint noarch
279 arch_compat: falcon: m68kmint noarch
280 arch_compat: atariclone: m68kmint noarch
281 arch_compat: milan: m68kmint noarch
282 arch_compat: hades: m68kmint noarch
284 arch_compat: i370: noarch
285 arch_compat: s390: noarch
286 arch_compat: s390x: s390 noarch
288 arch_compat: ia64: noarch
290 arch_compat: x86_64: amd64 athlon noarch
291 arch_compat: amd64: x86_64 athlon noarch
292 arch_compat: ia32e: x86_64 athlon noarch
294 os_compat: IRIX64: IRIX
295 os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
296 os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
297 os_compat: solaris2.5: solaris2.3 solaris2.4
298 os_compat: solaris2.4: solaris2.3
300 os_compat: hpux11.00: hpux10.30
301 os_compat: hpux10.30: hpux10.20
302 os_compat: hpux10.20: hpux10.10
303 os_compat: hpux10.10: hpux10.01
304 os_compat: hpux10.01: hpux10.00
305 os_compat: hpux10.00: hpux9.07
306 os_compat: hpux9.07: hpux9.05
307 os_compat: hpux9.05: hpux9.04
309 os_compat: osf4.0: osf3.2 osf1
311 os_compat: ncr-sysv4.3: ncr-sysv4.2
313 os_compat: FreeMiNT: mint MiNT TOS
314 os_compat: MiNT: FreeMiNT mint TOS
315 os_compat: mint: FreeMiNT MiNT TOS
316 os_compat: TOS: FreeMiNT MiNT mint
318 os_compat: BSD_OS: bsdi
319 os_compat: bsdi4.0: bsdi
321 buildarch_compat: ia64: noarch
323 buildarch_compat: athlon: i686
324 buildarch_compat: pentium4: pentium3
325 buildarch_compat: pentium3: i686
326 buildarch_compat: i686: i586
327 buildarch_compat: i586: i486
328 buildarch_compat: i486: i386
329 buildarch_compat: i386: noarch
331 buildarch_compat: sun4c: noarch
332 buildarch_compat: sun4d: noarch
333 buildarch_compat: sun4m: noarch
334 buildarch_compat: sun4u: noarch
335 buildarch_compat: sparc64: noarch
336 buildarch_compat: sparcv9: sparc
337 buildarch_compat: sparc: noarch
339 buildarch_compat: alphaev67: alphaev6
340 buildarch_compat: alphaev6: alphapca56
341 buildarch_compat: alphapca56: alphaev56
342 buildarch_compat: alphaev56: alphaev5
343 buildarch_compat: alphaev5: alpha
344 buildarch_compat: alpha: noarch
346 buildarch_compat: m68k: noarch
348 buildarch_compat: ppciseries: noarch
349 buildarch_compat: ppcpseries: noarch
350 buildarch_compat: ppc: noarch
351 buildarch_compat: ppc64: noarch
352 buildarch_compat: ppc64pseries: ppc64
353 buildarch_compat: ppc64iseries: ppc64
355 buildarch_compat: mips: noarch
356 buildarch_compat: mipsel: noarch
358 buildarch_compat: armv3l: noarch
359 buildarch_compat: armv4b: noarch
360 buildarch_compat: armv4l: noarch
362 buildarch_compat: hppa2.0: hppa1.2
363 buildarch_compat: hppa1.2: hppa1.1
364 buildarch_compat: hppa1.1: hppa1.0
365 buildarch_compat: hppa1.0: parisc
366 buildarch_compat: parisc: noarch
368 buildarch_compat: atarist: m68kmint noarch
369 buildarch_compat: atariste: m68kmint noarch
370 buildarch_compat: ataritt: m68kmint noarch
371 buildarch_compat: falcon: m68kmint noarch
372 buildarch_compat: atariclone: m68kmint noarch
373 buildarch_compat: milan: m68kmint noarch
374 buildarch_compat: hades: m68kmint noarch
376 buildarch_compat: s390: noarch
377 buildarch_compat: s390x: noarch
379 buildarch_compat: ia64: noarch
381 buildarch_compat: x86_64: noarch
382 buildarch_compat: amd64: x86_64
383 buildarch_compat: ia32e: x86_64
385 macrofiles: @RPMCONFIGDIR@/macros:@RPMCONFIGDIR@/%{_target}/macros:@SYSCONFIGDIR@/macros.*:@SYSCONFIGDIR@/macros:@SYSCONFIGDIR@/%{_target}/macros:~/.rpmmacros