1 #/*! \page config_rpmrc Default configuration: /usr/lib/rpm/rpmrc
4 # $Id: rpmrc.in,v 2.65 2004/10/09 20:22:01 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: ppc8260 -O2 -g -fsigned-char
42 optflags: ppc8560 -O2 -g -fsigned-char
43 optflags: ppc32dy4 -O2 -g -fsigned-char
44 optflags: ppciseries -O2 -g -fsigned-char
45 optflags: ppcpseries -O2 -g -fsigned-char
46 optflags: ppc64 -O2 -g -fsigned-char
48 optflags: parisc -O2 -g -mpa-risc-1-0
49 optflags: hppa1.0 -O2 -g -mpa-risc-1-0
50 optflags: hppa1.1 -O2 -g -mpa-risc-1-0
51 optflags: hppa1.2 -O2 -g -mpa-risc-1-0
52 optflags: hppa2.0 -O2 -g -mpa-risc-1-0
55 optflags: mipsel -O2 -g
57 optflags: armv3l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv3
58 optflags: armv4b -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
59 optflags: armv4l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
61 optflags: atarist -O2 -g -fomit-frame-pointer
62 optflags: atariste -O2 -g -fomit-frame-pointer
63 optflags: ataritt -O2 -g -fomit-frame-pointer
64 optflags: falcon -O2 -g -fomit-frame-pointer
65 optflags: atariclone -O2 -g -fomit-frame-pointer
66 optflags: milan -O2 -g -fomit-frame-pointer
67 optflags: hades -O2 -g -fomit-frame-pointer
70 optflags: s390x -O2 -g
72 #############################################################
73 # Canonical arch names and numbers
75 arch_canon: athlon: athlon 1
76 arch_canon: pentium4: pentium4 1
77 arch_canon: pentium3: pentium3 1
78 arch_canon: i686: i686 1
79 arch_canon: i586: i586 1
80 arch_canon: i486: i486 1
81 arch_canon: i386: i386 1
82 arch_canon: x86_64: x86_64 1
83 arch_canon: amd64: amd64 1
84 arch_canon: ia32e: ia32e 1
86 arch_canon: alpha: alpha 2
87 arch_canon: alphaev5: alphaev5 2
88 arch_canon: alphaev56: alphaev56 2
89 arch_canon: alphapca56:alphapca56 2
90 arch_canon: alphaev6: alphaev6 2
91 arch_canon: alphaev67: alphaev67 2
92 # We always want to prefer sparc to sparc64.
93 arch_canon: sparc64:sparc64 2
94 arch_canon: sun4u: sparc64 2
96 arch_canon: sparc: sparc 3
97 arch_canon: sun4: sparc 3
98 arch_canon: sun4m: sparc 3
99 arch_canon: sun4c: sparc 3
100 arch_canon: sun4d: sparc 3
101 arch_canon: sparcv8: sparcv8 3
102 arch_canon: sparcv9: sparcv9 3
103 # This is really a place holder for MIPS.
104 arch_canon: mips: mips 4
106 arch_canon: ppc: ppc 5
107 arch_canon: ppc8260: ppc8260 5
108 arch_canon: ppc8560: ppc8560 5
109 arch_canon: ppc32dy4: ppc32dy4 5
110 arch_canon: ppciseries: ppciseries 5
111 arch_canon: ppcpseries: ppcpseries 5
113 arch_canon: m68k: m68k 6
114 arch_canon: IP: sgi 7
115 arch_canon: rs6000: rs6000 8
116 arch_canon: ia64: ia64 9
118 arch_canon: mipsel: mipsel 11
120 arch_canon: armv3l: armv3l 12
121 arch_canon: armv4b: armv4b 12
122 arch_canon: armv4l: armv4l 12
124 arch_canon: m68kmint: m68kmint 13
125 arch_canon: atarist: m68kmint 13
126 arch_canon: atariste: m68kmint 13
127 arch_canon: ataritt: m68kmint 13
128 arch_canon: falcon: m68kmint 13
129 arch_canon: atariclone: m68kmint 13
130 arch_canon: milan: m68kmint 13
131 arch_canon: hades: m68kmint 13
133 arch_canon: s390: s390 14
134 arch_canon: i370: i370 14
135 arch_canon: s390x: s390x 15
137 arch_canon: ppc64: ppc64 16
138 arch_canon: ppc64pseries: ppc64pseries 16
139 arch_canon: ppc64iseries: ppc64iseries 16
141 arch_canon: sh: sh 17
142 arch_canon: xtensa: xtensa 18
144 #############################################################
145 # Canonical OS names and numbers
147 os_canon: Linux: Linux 1
148 os_canon: IRIX: Irix 2
150 os_canon: SunOS5: solaris 3
151 os_canon: SunOS4: SunOS 4
153 os_canon: AmigaOS: AmigaOS 5
155 os_canon: HP-UX: hpux10 6
156 os_canon: OSF1: osf1 7
157 os_canon: osf4.0: osf1 7
158 os_canon: osf3.2: osf1 7
159 os_canon: FreeBSD: FreeBSD 8
160 os_canon: SCO_SV: SCO_SV3.2v5.0.2 9
161 os_canon: IRIX64: Irix64 10
162 os_canon: NEXTSTEP: NextStep 11
163 os_canon: BSD_OS: bsdi 12
164 os_canon: machten: machten 13
165 os_canon: CYGWIN32_NT: cygwin32 14
166 os_canon: CYGWIN32_95: cygwin32 15
167 os_canon: UNIX_SV: MP_RAS: 16
168 os_canon: MiNT: FreeMiNT 17
169 os_canon: OS/390: OS/390 18
170 os_canon: VM/ESA: VM/ESA 19
171 os_canon: Linux/390: OS/390 20
172 os_canon: Linux/ESA: VM/ESA 20
174 #############################################################
175 # For a given uname().machine, the default build arch
177 buildarchtranslate: osfmach3_i686: i386
178 buildarchtranslate: osfmach3_i586: i386
179 buildarchtranslate: osfmach3_i486: i386
180 buildarchtranslate: osfmach3_i386: i386
182 buildarchtranslate: athlon: i386
183 buildarchtranslate: pentium4: i386
184 buildarchtranslate: pentium3: i386
185 buildarchtranslate: i686: i386
186 buildarchtranslate: i586: i386
187 buildarchtranslate: i486: i386
188 buildarchtranslate: i386: i386
190 buildarchtranslate: alphaev5: alpha
191 buildarchtranslate: alphaev56: alpha
192 buildarchtranslate: alphapca56: alpha
193 buildarchtranslate: alphaev6: alpha
194 buildarchtranslate: alphaev67: alpha
196 buildarchtranslate: sun4c: sparc
197 buildarchtranslate: sun4d: sparc
198 buildarchtranslate: sun4m: sparc
199 buildarchtranslate: sparcv8: sparc
200 buildarchtranslate: sparcv9: sparc
201 buildarchtranslate: sun4u: sparc64
203 buildarchtranslate: osfmach3_ppc: ppc
204 buildarchtranslate: powerpc: ppc
205 buildarchtranslate: powerppc: ppc
206 buildarchtranslate: ppc8260: ppc
207 buildarchtranslate: ppc8560: ppc
208 buildarchtranslate: ppc32dy4: ppc
209 buildarchtranslate: ppciseries: ppc
210 buildarchtranslate: ppcpseries: ppc
212 buildarchtranslate: atarist: m68kmint
213 buildarchtranslate: atariste: m68kmint
214 buildarchtranslate: ataritt: m68kmint
215 buildarchtranslate: falcon: m68kmint
216 buildarchtranslate: atariclone: m68kmint
217 buildarchtranslate: milan: m68kmint
218 buildarchtranslate: hades: m68kmint
220 buildarchtranslate: s390: s390
221 buildarchtranslate: s390x: s390x
223 buildarchtranslate: ia64: ia64
225 buildarchtranslate: x86_64: x86_64
226 buildarchtranslate: amd64: x86_64
227 buildarchtranslate: ia32e: x86_64
229 #############################################################
230 # Architecture compatibility
232 arch_compat: alphaev67: alphaev6
233 arch_compat: alphaev6: alphapca56
234 arch_compat: alphapca56: alphaev56
235 arch_compat: alphaev56: alphaev5
236 arch_compat: alphaev5: alpha
237 arch_compat: alpha: axp noarch
239 arch_compat: athlon: i686
240 arch_compat: pentium4: pentium3
241 arch_compat: pentium3: i686
242 arch_compat: i686: i586
243 arch_compat: i586: i486
244 arch_compat: i486: i386
245 arch_compat: i386: noarch
247 arch_compat: osfmach3_i686: i686 osfmach3_i586
248 arch_compat: osfmach3_i586: i586 osfmach3_i486
249 arch_compat: osfmach3_i486: i486 osfmach3_i386
250 arch_compat: osfmach3_i386: i486
252 arch_compat: osfmach3_ppc: ppc
253 arch_compat: powerpc: ppc
254 arch_compat: powerppc: ppc
255 arch_compat: ppc8260: ppc
256 arch_compat: ppc8560: ppc
257 arch_compat: ppc32dy4: ppc
258 arch_compat: ppciseries: ppc
259 arch_compat: ppcpseries: ppc
260 arch_compat: ppc64: ppc
261 arch_compat: ppc: rs6000
262 arch_compat: rs6000: noarch
263 arch_compat: ppc64pseries: ppc64
264 arch_compat: ppc64iseries: ppc64
266 arch_compat: sun4c: sparc
267 arch_compat: sun4d: sparc
268 arch_compat: sun4m: sparc
269 arch_compat: sun4u: sparc64
270 arch_compat: sparc64: sparcv9
271 arch_compat: sparcv9: sparc
272 arch_compat: sparcv8: sparc
273 arch_compat: sparc: noarch
275 arch_compat: mips: noarch
276 arch_compat: mipsel: noarch
278 arch_compat: hppa2.0: hppa1.2
279 arch_compat: hppa1.2: hppa1.1
280 arch_compat: hppa1.1: hppa1.0
281 arch_compat: hppa1.0: parisc
282 arch_compat: parisc: noarch
284 arch_compat: armv4b: noarch
285 arch_compat: armv4l: armv3l
286 arch_compat: armv3l: noarch
288 arch_compat: atarist: m68kmint noarch
289 arch_compat: atariste: m68kmint noarch
290 arch_compat: ataritt: m68kmint noarch
291 arch_compat: falcon: m68kmint noarch
292 arch_compat: atariclone: m68kmint noarch
293 arch_compat: milan: m68kmint noarch
294 arch_compat: hades: m68kmint noarch
296 arch_compat: i370: noarch
297 arch_compat: s390: noarch
298 arch_compat: s390x: s390 noarch
300 arch_compat: ia64: noarch
302 arch_compat: x86_64: amd64 athlon noarch
303 arch_compat: amd64: x86_64 athlon noarch
304 arch_compat: ia32e: x86_64 athlon noarch
306 os_compat: IRIX64: IRIX
307 os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
308 os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
309 os_compat: solaris2.5: solaris2.3 solaris2.4
310 os_compat: solaris2.4: solaris2.3
312 os_compat: hpux11.00: hpux10.30
313 os_compat: hpux10.30: hpux10.20
314 os_compat: hpux10.20: hpux10.10
315 os_compat: hpux10.10: hpux10.01
316 os_compat: hpux10.01: hpux10.00
317 os_compat: hpux10.00: hpux9.07
318 os_compat: hpux9.07: hpux9.05
319 os_compat: hpux9.05: hpux9.04
321 os_compat: osf4.0: osf3.2 osf1
323 os_compat: ncr-sysv4.3: ncr-sysv4.2
325 os_compat: FreeMiNT: mint MiNT TOS
326 os_compat: MiNT: FreeMiNT mint TOS
327 os_compat: mint: FreeMiNT MiNT TOS
328 os_compat: TOS: FreeMiNT MiNT mint
330 os_compat: BSD_OS: bsdi
331 os_compat: bsdi4.0: bsdi
333 buildarch_compat: ia64: noarch
335 buildarch_compat: athlon: i686
336 buildarch_compat: pentium4: pentium3
337 buildarch_compat: pentium3: i686
338 buildarch_compat: i686: i586
339 buildarch_compat: i586: i486
340 buildarch_compat: i486: i386
341 buildarch_compat: i386: noarch
343 buildarch_compat: sun4c: noarch
344 buildarch_compat: sun4d: noarch
345 buildarch_compat: sun4m: noarch
346 buildarch_compat: sun4u: noarch
347 buildarch_compat: sparc64: noarch
348 buildarch_compat: sparcv9: sparc
349 buildarch_compat: sparc: noarch
351 buildarch_compat: alphaev67: alphaev6
352 buildarch_compat: alphaev6: alphapca56
353 buildarch_compat: alphapca56: alphaev56
354 buildarch_compat: alphaev56: alphaev5
355 buildarch_compat: alphaev5: alpha
356 buildarch_compat: alpha: noarch
358 buildarch_compat: m68k: noarch
360 buildarch_compat: ppc8260: noarch
361 buildarch_compat: ppc8560: noarch
362 buildarch_compat: ppc32dy4: noarch
363 buildarch_compat: ppciseries: noarch
364 buildarch_compat: ppcpseries: noarch
365 buildarch_compat: ppc: noarch
366 buildarch_compat: ppc64: noarch
367 buildarch_compat: ppc64pseries: ppc64
368 buildarch_compat: ppc64iseries: ppc64
370 buildarch_compat: mips: noarch
371 buildarch_compat: mipsel: noarch
373 buildarch_compat: armv3l: noarch
374 buildarch_compat: armv4b: noarch
375 buildarch_compat: armv4l: noarch
377 buildarch_compat: hppa2.0: hppa1.2
378 buildarch_compat: hppa1.2: hppa1.1
379 buildarch_compat: hppa1.1: hppa1.0
380 buildarch_compat: hppa1.0: parisc
381 buildarch_compat: parisc: noarch
383 buildarch_compat: atarist: m68kmint noarch
384 buildarch_compat: atariste: m68kmint noarch
385 buildarch_compat: ataritt: m68kmint noarch
386 buildarch_compat: falcon: m68kmint noarch
387 buildarch_compat: atariclone: m68kmint noarch
388 buildarch_compat: milan: m68kmint noarch
389 buildarch_compat: hades: m68kmint noarch
391 buildarch_compat: s390: noarch
392 buildarch_compat: s390x: noarch
394 buildarch_compat: ia64: noarch
396 buildarch_compat: x86_64: noarch
397 buildarch_compat: amd64: x86_64
398 buildarch_compat: ia32e: x86_64
400 macrofiles: @RPMCONFIGDIR@/macros:@RPMCONFIGDIR@/%{_target}/macros:@SYSCONFIGDIR@/macros.*:@SYSCONFIGDIR@/macros:@SYSCONFIGDIR@/%{_target}/macros:~/.rpmmacros