1 #/*! \page config_rpmrc Default configuration: /usr/lib/rpm/rpmrc
4 # $Id: rpmrc.in,v 2.64 2004/06/16 17:48: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: ppc8260 -O2 -g -fsigned-char
42 optflags: ppc8560 -O2 -g -fsigned-char
43 optflags: ppciseries -O2 -g -fsigned-char
44 optflags: ppcpseries -O2 -g -fsigned-char
45 optflags: ppc64 -O2 -g -fsigned-char
47 optflags: parisc -O2 -g -mpa-risc-1-0
48 optflags: hppa1.0 -O2 -g -mpa-risc-1-0
49 optflags: hppa1.1 -O2 -g -mpa-risc-1-0
50 optflags: hppa1.2 -O2 -g -mpa-risc-1-0
51 optflags: hppa2.0 -O2 -g -mpa-risc-1-0
54 optflags: mipsel -O2 -g
56 optflags: armv3l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv3
57 optflags: armv4b -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
58 optflags: armv4l -O2 -g -fsigned-char -fomit-frame-pointer -march=armv4
60 optflags: atarist -O2 -g -fomit-frame-pointer
61 optflags: atariste -O2 -g -fomit-frame-pointer
62 optflags: ataritt -O2 -g -fomit-frame-pointer
63 optflags: falcon -O2 -g -fomit-frame-pointer
64 optflags: atariclone -O2 -g -fomit-frame-pointer
65 optflags: milan -O2 -g -fomit-frame-pointer
66 optflags: hades -O2 -g -fomit-frame-pointer
69 optflags: s390x -O2 -g
71 #############################################################
72 # Canonical arch names and numbers
74 arch_canon: athlon: athlon 1
75 arch_canon: pentium4: pentium4 1
76 arch_canon: pentium3: pentium3 1
77 arch_canon: i686: i686 1
78 arch_canon: i586: i586 1
79 arch_canon: i486: i486 1
80 arch_canon: i386: i386 1
81 arch_canon: x86_64: x86_64 1
82 arch_canon: amd64: amd64 1
83 arch_canon: ia32e: ia32e 1
85 arch_canon: alpha: alpha 2
86 arch_canon: alphaev5: alphaev5 2
87 arch_canon: alphaev56: alphaev56 2
88 arch_canon: alphapca56:alphapca56 2
89 arch_canon: alphaev6: alphaev6 2
90 arch_canon: alphaev67: alphaev67 2
91 # We always want to prefer sparc to sparc64.
92 arch_canon: sparc64:sparc64 2
93 arch_canon: sun4u: sparc64 2
95 arch_canon: sparc: sparc 3
96 arch_canon: sun4: sparc 3
97 arch_canon: sun4m: sparc 3
98 arch_canon: sun4c: sparc 3
99 arch_canon: sun4d: sparc 3
100 arch_canon: sparcv8: sparcv8 3
101 arch_canon: sparcv9: sparcv9 3
102 # This is really a place holder for MIPS.
103 arch_canon: mips: mips 4
105 arch_canon: ppc: ppc 5
106 arch_canon: ppc8260: ppc8260 5
107 arch_canon: ppc8560: ppc8560 5
108 arch_canon: ppciseries: ppciseries 5
109 arch_canon: ppcpseries: ppcpseries 5
111 arch_canon: m68k: m68k 6
112 arch_canon: IP: sgi 7
113 arch_canon: rs6000: rs6000 8
114 arch_canon: ia64: ia64 9
116 arch_canon: mipsel: mipsel 11
118 arch_canon: armv3l: armv3l 12
119 arch_canon: armv4b: armv4b 12
120 arch_canon: armv4l: armv4l 12
122 arch_canon: m68kmint: m68kmint 13
123 arch_canon: atarist: m68kmint 13
124 arch_canon: atariste: m68kmint 13
125 arch_canon: ataritt: m68kmint 13
126 arch_canon: falcon: m68kmint 13
127 arch_canon: atariclone: m68kmint 13
128 arch_canon: milan: m68kmint 13
129 arch_canon: hades: m68kmint 13
131 arch_canon: s390: s390 14
132 arch_canon: i370: i370 14
133 arch_canon: s390x: s390x 15
135 arch_canon: ppc64: ppc64 16
136 arch_canon: ppc64pseries: ppc64pseries 16
137 arch_canon: ppc64iseries: ppc64iseries 16
139 arch_canon: sh: sh 17
140 arch_canon: xtensa: xtensa 18
142 #############################################################
143 # Canonical OS names and numbers
145 os_canon: Linux: Linux 1
146 os_canon: IRIX: Irix 2
148 os_canon: SunOS5: solaris 3
149 os_canon: SunOS4: SunOS 4
151 os_canon: AmigaOS: AmigaOS 5
153 os_canon: HP-UX: hpux10 6
154 os_canon: OSF1: osf1 7
155 os_canon: osf4.0: osf1 7
156 os_canon: osf3.2: osf1 7
157 os_canon: FreeBSD: FreeBSD 8
158 os_canon: SCO_SV: SCO_SV3.2v5.0.2 9
159 os_canon: IRIX64: Irix64 10
160 os_canon: NEXTSTEP: NextStep 11
161 os_canon: BSD_OS: bsdi 12
162 os_canon: machten: machten 13
163 os_canon: CYGWIN32_NT: cygwin32 14
164 os_canon: CYGWIN32_95: cygwin32 15
165 os_canon: UNIX_SV: MP_RAS: 16
166 os_canon: MiNT: FreeMiNT 17
167 os_canon: OS/390: OS/390 18
168 os_canon: VM/ESA: VM/ESA 19
169 os_canon: Linux/390: OS/390 20
170 os_canon: Linux/ESA: VM/ESA 20
172 #############################################################
173 # For a given uname().machine, the default build arch
175 buildarchtranslate: osfmach3_i686: i386
176 buildarchtranslate: osfmach3_i586: i386
177 buildarchtranslate: osfmach3_i486: i386
178 buildarchtranslate: osfmach3_i386: i386
180 buildarchtranslate: athlon: i386
181 buildarchtranslate: pentium4: i386
182 buildarchtranslate: pentium3: i386
183 buildarchtranslate: i686: i386
184 buildarchtranslate: i586: i386
185 buildarchtranslate: i486: i386
186 buildarchtranslate: i386: i386
188 buildarchtranslate: alphaev5: alpha
189 buildarchtranslate: alphaev56: alpha
190 buildarchtranslate: alphapca56: alpha
191 buildarchtranslate: alphaev6: alpha
192 buildarchtranslate: alphaev67: alpha
194 buildarchtranslate: sun4c: sparc
195 buildarchtranslate: sun4d: sparc
196 buildarchtranslate: sun4m: sparc
197 buildarchtranslate: sparcv8: sparc
198 buildarchtranslate: sparcv9: sparc
199 buildarchtranslate: sun4u: sparc64
201 buildarchtranslate: osfmach3_ppc: ppc
202 buildarchtranslate: powerpc: ppc
203 buildarchtranslate: powerppc: ppc
204 buildarchtranslate: ppc8260: ppc
205 buildarchtranslate: ppc8560: ppc
206 buildarchtranslate: ppciseries: ppc
207 buildarchtranslate: ppcpseries: ppc
209 buildarchtranslate: atarist: m68kmint
210 buildarchtranslate: atariste: m68kmint
211 buildarchtranslate: ataritt: m68kmint
212 buildarchtranslate: falcon: m68kmint
213 buildarchtranslate: atariclone: m68kmint
214 buildarchtranslate: milan: m68kmint
215 buildarchtranslate: hades: m68kmint
217 buildarchtranslate: s390: s390
218 buildarchtranslate: s390x: s390x
220 buildarchtranslate: ia64: ia64
222 buildarchtranslate: x86_64: x86_64
223 buildarchtranslate: amd64: x86_64
224 buildarchtranslate: ia32e: x86_64
226 #############################################################
227 # Architecture compatibility
229 arch_compat: alphaev67: alphaev6
230 arch_compat: alphaev6: alphapca56
231 arch_compat: alphapca56: alphaev56
232 arch_compat: alphaev56: alphaev5
233 arch_compat: alphaev5: alpha
234 arch_compat: alpha: axp noarch
236 arch_compat: athlon: i686
237 arch_compat: pentium4: pentium3
238 arch_compat: pentium3: i686
239 arch_compat: i686: i586
240 arch_compat: i586: i486
241 arch_compat: i486: i386
242 arch_compat: i386: noarch
244 arch_compat: osfmach3_i686: i686 osfmach3_i586
245 arch_compat: osfmach3_i586: i586 osfmach3_i486
246 arch_compat: osfmach3_i486: i486 osfmach3_i386
247 arch_compat: osfmach3_i386: i486
249 arch_compat: osfmach3_ppc: ppc
250 arch_compat: powerpc: ppc
251 arch_compat: powerppc: ppc
252 arch_compat: ppc8260: ppc
253 arch_compat: ppc8560: ppc
254 arch_compat: ppciseries: ppc
255 arch_compat: ppcpseries: ppc
256 arch_compat: ppc64: ppc
257 arch_compat: ppc: rs6000
258 arch_compat: rs6000: noarch
259 arch_compat: ppc64pseries: ppc64
260 arch_compat: ppc64iseries: ppc64
262 arch_compat: sun4c: sparc
263 arch_compat: sun4d: sparc
264 arch_compat: sun4m: sparc
265 arch_compat: sun4u: sparc64
266 arch_compat: sparc64: sparcv9
267 arch_compat: sparcv9: sparc
268 arch_compat: sparcv8: sparc
269 arch_compat: sparc: noarch
271 arch_compat: mips: noarch
272 arch_compat: mipsel: noarch
274 arch_compat: hppa2.0: hppa1.2
275 arch_compat: hppa1.2: hppa1.1
276 arch_compat: hppa1.1: hppa1.0
277 arch_compat: hppa1.0: parisc
278 arch_compat: parisc: noarch
280 arch_compat: armv4b: noarch
281 arch_compat: armv4l: armv3l
282 arch_compat: armv3l: noarch
284 arch_compat: atarist: m68kmint noarch
285 arch_compat: atariste: m68kmint noarch
286 arch_compat: ataritt: m68kmint noarch
287 arch_compat: falcon: m68kmint noarch
288 arch_compat: atariclone: m68kmint noarch
289 arch_compat: milan: m68kmint noarch
290 arch_compat: hades: m68kmint noarch
292 arch_compat: i370: noarch
293 arch_compat: s390: noarch
294 arch_compat: s390x: s390 noarch
296 arch_compat: ia64: noarch
298 arch_compat: x86_64: amd64 athlon noarch
299 arch_compat: amd64: x86_64 athlon noarch
300 arch_compat: ia32e: x86_64 athlon noarch
302 os_compat: IRIX64: IRIX
303 os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
304 os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
305 os_compat: solaris2.5: solaris2.3 solaris2.4
306 os_compat: solaris2.4: solaris2.3
308 os_compat: hpux11.00: hpux10.30
309 os_compat: hpux10.30: hpux10.20
310 os_compat: hpux10.20: hpux10.10
311 os_compat: hpux10.10: hpux10.01
312 os_compat: hpux10.01: hpux10.00
313 os_compat: hpux10.00: hpux9.07
314 os_compat: hpux9.07: hpux9.05
315 os_compat: hpux9.05: hpux9.04
317 os_compat: osf4.0: osf3.2 osf1
319 os_compat: ncr-sysv4.3: ncr-sysv4.2
321 os_compat: FreeMiNT: mint MiNT TOS
322 os_compat: MiNT: FreeMiNT mint TOS
323 os_compat: mint: FreeMiNT MiNT TOS
324 os_compat: TOS: FreeMiNT MiNT mint
326 os_compat: BSD_OS: bsdi
327 os_compat: bsdi4.0: bsdi
329 buildarch_compat: ia64: noarch
331 buildarch_compat: athlon: i686
332 buildarch_compat: pentium4: pentium3
333 buildarch_compat: pentium3: i686
334 buildarch_compat: i686: i586
335 buildarch_compat: i586: i486
336 buildarch_compat: i486: i386
337 buildarch_compat: i386: noarch
339 buildarch_compat: sun4c: noarch
340 buildarch_compat: sun4d: noarch
341 buildarch_compat: sun4m: noarch
342 buildarch_compat: sun4u: noarch
343 buildarch_compat: sparc64: noarch
344 buildarch_compat: sparcv9: sparc
345 buildarch_compat: sparc: noarch
347 buildarch_compat: alphaev67: alphaev6
348 buildarch_compat: alphaev6: alphapca56
349 buildarch_compat: alphapca56: alphaev56
350 buildarch_compat: alphaev56: alphaev5
351 buildarch_compat: alphaev5: alpha
352 buildarch_compat: alpha: noarch
354 buildarch_compat: m68k: noarch
356 buildarch_compat: ppc8260: noarch
357 buildarch_compat: ppc8560: noarch
358 buildarch_compat: ppciseries: noarch
359 buildarch_compat: ppcpseries: noarch
360 buildarch_compat: ppc: noarch
361 buildarch_compat: ppc64: noarch
362 buildarch_compat: ppc64pseries: ppc64
363 buildarch_compat: ppc64iseries: ppc64
365 buildarch_compat: mips: noarch
366 buildarch_compat: mipsel: noarch
368 buildarch_compat: armv3l: noarch
369 buildarch_compat: armv4b: noarch
370 buildarch_compat: armv4l: noarch
372 buildarch_compat: hppa2.0: hppa1.2
373 buildarch_compat: hppa1.2: hppa1.1
374 buildarch_compat: hppa1.1: hppa1.0
375 buildarch_compat: hppa1.0: parisc
376 buildarch_compat: parisc: noarch
378 buildarch_compat: atarist: m68kmint noarch
379 buildarch_compat: atariste: m68kmint noarch
380 buildarch_compat: ataritt: m68kmint noarch
381 buildarch_compat: falcon: m68kmint noarch
382 buildarch_compat: atariclone: m68kmint noarch
383 buildarch_compat: milan: m68kmint noarch
384 buildarch_compat: hades: m68kmint noarch
386 buildarch_compat: s390: noarch
387 buildarch_compat: s390x: noarch
389 buildarch_compat: ia64: noarch
391 buildarch_compat: x86_64: noarch
392 buildarch_compat: amd64: x86_64
393 buildarch_compat: ia32e: x86_64
395 macrofiles: @RPMCONFIGDIR@/macros:@RPMCONFIGDIR@/%{_target}/macros:@SYSCONFIGDIR@/macros.*:@SYSCONFIGDIR@/macros:@SYSCONFIGDIR@/%{_target}/macros:~/.rpmmacros