summaryrefslogtreecommitdiff
path: root/rpmrc.in
blob: 0033bbdec3ae89acdff35ba0ced03607e7d5b17d (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
#/*! \page config_rpmrc Default configuration: @RPMCONFIGDIR@/rpmrc
# \verbatim
#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
# should be added to /etc/rpmrc, while per-user configuration should
# be added to ~/.rpmrc.
#
#############################################################
# Values for RPM_OPT_FLAGS for various platforms

# "fat" binary with both archs, for Darwin
optflags: fat -O2 -g -arch i386 -arch ppc

optflags: i386 -O2 -g -march=i386 -mtune=i686
optflags: i486 -O2 -g -march=i486
optflags: i586 -O2 -g -march=i586
optflags: i686 -O2 -g -march=i686
optflags: pentium3 -O2 -g -march=pentium3
optflags: pentium4 -O2 -g -march=pentium4
optflags: athlon -O2 -g -march=athlon
optflags: geode -Os -g -m32 -march=geode
optflags: ia64 -O2 -g
optflags: x86_64 -O2 -g
optflags: amd64 -O2 -g
optflags: ia32e -O2 -g

optflags: alpha -O2 -g -mieee
optflags: alphaev5 -O2 -g -mieee -mtune=ev5
optflags: alphaev56 -O2 -g -mieee -mtune=ev56
optflags: alphapca56 -O2 -g -mieee -mtune=pca56
optflags: alphaev6 -O2 -g -mieee -mtune=ev6
optflags: alphaev67 -O2 -g -mieee -mtune=ev67

optflags: sparc -O2 -g -m32 -mtune=ultrasparc
optflags: sparcv8 -O2 -g -m32 -mtune=ultrasparc -mv8
optflags: sparcv9 -O2 -g -m32 -mtune=ultrasparc
optflags: sparcv9v -O2 -g -m32 -mtune=niagara
optflags: sparc64 -O2 -g -m64 -mtune=ultrasparc
optflags: sparc64v -O2 -g -m64 -mtune=niagara

optflags: m68k -O2 -g -fomit-frame-pointer

optflags: ppc -O2 -g -fsigned-char
optflags: ppc8260 -O2 -g -fsigned-char
optflags: ppc8560 -O2 -g -fsigned-char
optflags: ppc32dy4 -O2 -g -fsigned-char
optflags: ppciseries -O2 -g -fsigned-char
optflags: ppcpseries -O2 -g -fsigned-char
optflags: ppc64 -O2 -g -fsigned-char

optflags: parisc -O2 -g -mpa-risc-1-0
optflags: hppa1.0 -O2 -g -mpa-risc-1-0
optflags: hppa1.1 -O2 -g -mpa-risc-1-0
optflags: hppa1.2 -O2 -g -mpa-risc-1-0
optflags: hppa2.0 -O2 -g -mpa-risc-1-0

optflags: mips -O2 -g
optflags: mipsel -O2 -g

optflags: armv3l -O2 -g -march=armv3
optflags: armv4b -O2 -g -march=armv4
optflags: armv4l -O2 -g -march=armv4
optflags: armv4tl -O2 -g -march=armv4t
optflags: armv5tel -O2 -g -march=armv5te
optflags: armv5tejl -O2 -g -march=armv5te
optflags: armv6l -O2 -g -march=armv6
optflags: armv7l -O2 -g -march=armv7

optflags: atarist -O2 -g -fomit-frame-pointer
optflags: atariste -O2 -g -fomit-frame-pointer
optflags: ataritt -O2 -g -fomit-frame-pointer
optflags: falcon -O2 -g -fomit-frame-pointer
optflags: atariclone -O2 -g -fomit-frame-pointer
optflags: milan -O2 -g -fomit-frame-pointer
optflags: hades -O2 -g -fomit-frame-pointer

optflags: s390 -O2 -g
optflags: s390x -O2 -g

optflags: sh3 -O2 -g
optflags: sh4 -O2 -g -mieee
optflags: sh4a -O2 -g -mieee

#############################################################
# Canonical arch names and numbers

arch_canon:	athlon:	athlon	1
arch_canon:	geode:	geode	1
arch_canon:	pentium4:	pentium4	1
arch_canon:	pentium3:	pentium3	1
arch_canon:	i686:	i686	1
arch_canon:	i586:	i586	1
arch_canon:	i486:	i486	1
arch_canon:	i386:	i386	1
arch_canon:	x86_64:	x86_64	1
arch_canon:	amd64:	amd64	1
arch_canon:	ia32e:	ia32e	1

arch_canon:	alpha:	alpha	2
arch_canon:	alphaev5: alphaev5	2
arch_canon:	alphaev56: alphaev56	2
arch_canon:	alphapca56:alphapca56	2
arch_canon:	alphaev6: alphaev6	2
arch_canon:	alphaev67: alphaev67	2
# We always want to prefer sparc to sparc64.
arch_canon:     sparc64:sparc64 2
arch_canon:     sun4u:  sparc64 2
arch_canon:	sparc64v: sparc64v	2

arch_canon: 	sparc:	sparc	3
arch_canon: 	sun4:	sparc	3
arch_canon: 	sun4m:	sparc	3
arch_canon: 	sun4c:	sparc	3
arch_canon:	sun4d:  sparc   3
arch_canon:   sparcv8: sparcv8	3
arch_canon:   sparcv9: sparcv9	3
arch_canon:	sparcv9v: sparcv9v	3
# This is really a place holder for MIPS.
arch_canon:	mips:	mips	4

arch_canon:	ppc:	ppc	5
arch_canon:	ppc8260:	ppc8260	5
arch_canon:	ppc8560:	ppc8560	5
arch_canon:	ppc32dy4:	ppc32dy4	5
arch_canon:	ppciseries:	ppciseries	5
arch_canon:	ppcpseries:	ppcpseries	5

arch_canon:	m68k:	m68k	6
arch_canon:	IP:	sgi	7
arch_canon:     rs6000:	rs6000  8
arch_canon:     ia64:	ia64	9

arch_canon:	mipsel:	mipsel	11

arch_canon:	armv3l: armv3l	12
arch_canon:     armv4b:	armv4b 	12
arch_canon:     armv4l:	armv4l 	12
arch_canon:     armv5tel: armv5tel 	12
arch_canon:     armv5tejl: armv5tejl 	12
arch_canon:     armv6l: armv6l 	12
arch_canon:     armv7l: armv7l 	12

arch_canon:	m68kmint: m68kmint	13
arch_canon:	atarist: m68kmint	13
arch_canon:	atariste: m68kmint	13
arch_canon:	ataritt: m68kmint	13
arch_canon:	falcon: m68kmint	13
arch_canon:	atariclone: m68kmint	13
arch_canon:	milan: m68kmint		13
arch_canon:	hades: m68kmint		13

arch_canon:	s390: s390	14
arch_canon:	i370: i370	14
arch_canon:	s390x: s390x	15

arch_canon:	ppc64:	ppc64	16
arch_canon:    ppc64pseries: ppc64pseries  16
arch_canon:    ppc64iseries: ppc64iseries  16

arch_canon:	sh: sh		17
arch_canon:	sh3: sh3	17
arch_canon:	sh4: sh4	17
arch_canon:	sh4a: sh4a	17
arch_canon:	xtensa: xtensa	18

#############################################################
# Canonical OS names and numbers

os_canon:	Linux:	Linux	1
os_canon:	IRIX:	Irix	2
# This is wrong
os_canon:	SunOS5:	solaris	3
os_canon:	SunOS4:	SunOS	4

os_canon:      AmigaOS: AmigaOS 5
os_canon:          AIX: AIX     5
os_canon:        HP-UX: hpux10  6
os_canon:         OSF1: osf1    7
os_canon:       osf4.0: osf1    7
os_canon:       osf3.2: osf1    7
os_canon:      FreeBSD: FreeBSD 8
os_canon:       SCO_SV: SCO_SV3.2v5.0.2  9
os_canon:	IRIX64: Irix64  10
os_canon:     NEXTSTEP: NextStep 11
os_canon:       BSD_OS: bsdi	12
os_canon:      machten: machten 13
os_canon:  CYGWIN32_NT: cygwin32 14
os_canon:  CYGWIN32_95: cygwin32 15
os_canon:      UNIX_SV: MP_RAS: 16
os_canon:         MiNT: FreeMiNT 17
os_canon:       OS/390: OS/390	18
os_canon:       VM/ESA: VM/ESA	19
os_canon:    Linux/390: OS/390	20
os_canon:    Linux/ESA: VM/ESA	20

os_canon:       Darwin: darwin	21
os_canon:       MacOSX: macosx	21

#############################################################
# For a given uname().machine, the default build arch

buildarchtranslate: osfmach3_i686: i386
buildarchtranslate: osfmach3_i586: i386
buildarchtranslate: osfmach3_i486: i386
buildarchtranslate: osfmach3_i386: i386

buildarchtranslate: athlon: i386
buildarchtranslate: geode: i386
buildarchtranslate: pentium4: i386
buildarchtranslate: pentium3: i386
buildarchtranslate: i686: i386
buildarchtranslate: i586: i386
buildarchtranslate: i486: i386
buildarchtranslate: i386: i386

buildarchtranslate: alphaev5: alpha
buildarchtranslate: alphaev56: alpha
buildarchtranslate: alphapca56: alpha
buildarchtranslate: alphaev6: alpha
buildarchtranslate: alphaev67: alpha

buildarchtranslate: sun4c: sparc
buildarchtranslate: sun4d: sparc
buildarchtranslate: sun4m: sparc
buildarchtranslate: sparcv8: sparc
buildarchtranslate: sparcv9: sparc
buildarchtranslate: sparcv9v: sparc
buildarchtranslate: sun4u: sparc64
buildarchtranslate: sparc64v: sparc64

buildarchtranslate: osfmach3_ppc: ppc
buildarchtranslate: powerpc: ppc
buildarchtranslate: powerppc: ppc
buildarchtranslate: ppc8260: ppc
buildarchtranslate: ppc8560: ppc
buildarchtranslate: ppc32dy4: ppc
buildarchtranslate: ppciseries: ppc
buildarchtranslate: ppcpseries: ppc
buildarchtranslate: ppc64iseries: ppc64
buildarchtranslate: ppc64pseries: ppc64

buildarchtranslate: armv3l: armv3l
buildarchtranslate: armv4b: armv4b
buildarchtranslate: armv4l: armv4l
buildarchtranslate: armv4tl: armv4tl
buildarchtranslate: armv5tel: armv5tel
buildarchtranslate: armv5tejl: armv5tejl
buildarchtranslate: armv6l: armv6l
buildarchtranslate: armv7l: armv7l

buildarchtranslate: atarist: m68kmint
buildarchtranslate: atariste: m68kmint
buildarchtranslate: ataritt: m68kmint
buildarchtranslate: falcon: m68kmint
buildarchtranslate: atariclone:	m68kmint
buildarchtranslate: milan: m68kmint
buildarchtranslate: hades: m68kmint	

buildarchtranslate: s390: s390
buildarchtranslate: s390x: s390x

buildarchtranslate: ia64: ia64

buildarchtranslate: x86_64: x86_64
buildarchtranslate: amd64: x86_64
buildarchtranslate: ia32e: x86_64

buildarchtranslate: sh3: sh3
buildarchtranslate: sh4: sh4
buildarchtranslate: sh4a: sh4

#############################################################
# Architecture compatibility

arch_compat: alphaev67: alphaev6
arch_compat: alphaev6: alphapca56
arch_compat: alphapca56: alphaev56
arch_compat: alphaev56: alphaev5
arch_compat: alphaev5: alpha
arch_compat: alpha: axp noarch

arch_compat: athlon: i686
arch_compat: geode: i586
arch_compat: pentium4: pentium3
arch_compat: pentium3: i686
arch_compat: i686: i586
arch_compat: i586: i486
arch_compat: i486: i386
arch_compat: i386: noarch fat

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

arch_compat: osfmach3_ppc: ppc
arch_compat: powerpc: ppc
arch_compat: powerppc: ppc
arch_compat: ppc8260: ppc
arch_compat: ppc8560: ppc
arch_compat: ppc32dy4: ppc
arch_compat: ppciseries: ppc
arch_compat: ppcpseries: ppc
arch_compat: ppc64: ppc
arch_compat: ppc: rs6000
arch_compat: rs6000: noarch fat
arch_compat: ppc64pseries: ppc64
arch_compat: ppc64iseries: ppc64

arch_compat: sun4c: sparc
arch_compat: sun4d: sparc
arch_compat: sun4m: sparc
arch_compat: sun4u: sparc64
arch_compat: sparc64v: sparc64
arch_compat: sparc64: sparcv9
arch_compat: sparcv9v: sparcv9
arch_compat: sparcv9: sparcv8
arch_compat: sparcv8: sparc
arch_compat: sparc: noarch

arch_compat: mips: noarch
arch_compat: mipsel: noarch

arch_compat: hppa2.0: hppa1.2
arch_compat: hppa1.2: hppa1.1
arch_compat: hppa1.1: hppa1.0
arch_compat: hppa1.0: parisc
arch_compat: parisc: noarch

arch_compat: armv4b: noarch
arch_compat: armv7l: armv6l
arch_compat: armv6l: armv5tejl
arch_compat: armv5tejl: armv5tel
arch_compat: armv5tel: armv4tl
arch_compat: armv4tl: armv4l
arch_compat: armv4l: armv3l
arch_compat: armv3l: noarch

arch_compat: atarist: m68kmint noarch
arch_compat: atariste: m68kmint noarch
arch_compat: ataritt: m68kmint noarch
arch_compat: falcon: m68kmint noarch
arch_compat: atariclone: m68kmint noarch
arch_compat: milan: m68kmint noarch
arch_compat: hades: m68kmint noarch

arch_compat: i370: noarch
arch_compat: s390: noarch
arch_compat: s390x: s390 noarch

arch_compat: ia64: noarch

arch_compat: x86_64: amd64 athlon noarch
arch_compat: amd64: x86_64 athlon noarch
arch_compat: ia32e: x86_64 athlon noarch

arch_compat: sh3: noarch
arch_compat: sh4: noarch
arch_compat: sh4a: sh4

os_compat:   IRIX64: IRIX
os_compat: solaris2.7: solaris2.3 solaris2.4 solaris2.5 solaris2.6
os_compat: solaris2.6: solaris2.3 solaris2.4 solaris2.5
os_compat: solaris2.5: solaris2.3 solaris2.4
os_compat: solaris2.4: solaris2.3

os_compat: hpux11.00: hpux10.30
os_compat: hpux10.30: hpux10.20
os_compat: hpux10.20: hpux10.10
os_compat: hpux10.10: hpux10.01
os_compat: hpux10.01: hpux10.00
os_compat: hpux10.00: hpux9.07
os_compat: hpux9.07: hpux9.05
os_compat: hpux9.05: hpux9.04

os_compat: osf4.0: osf3.2 osf1

os_compat: ncr-sysv4.3: ncr-sysv4.2

os_compat: FreeMiNT: mint MiNT TOS
os_compat: MiNT: FreeMiNT mint TOS
os_compat: mint: FreeMiNT MiNT TOS
os_compat: TOS: FreeMiNT MiNT mint

os_compat: BSD_OS: bsdi
os_compat: bsdi4.0: bsdi

os_compat: Darwin: MacOSX

buildarch_compat: ia64: noarch

buildarch_compat: athlon: i686
buildarch_compat: geode: i586
buildarch_compat: pentium4: pentium3
buildarch_compat: pentium3: i686
buildarch_compat: i686: i586
buildarch_compat: i586: i486
buildarch_compat: i486: i386
buildarch_compat: i386: noarch fat

buildarch_compat: sun4c: noarch
buildarch_compat: sun4d: noarch
buildarch_compat: sun4m: noarch
buildarch_compat: sun4u: noarch
buildarch_compat: sparc64v: sparc64
buildarch_compat: sparc64: sparcv9v
buildarch_compat: sparcv9v: sparcv9
buildarch_compat: sparcv9: sparcv8
buildarch_compat: sparcv8: sparc
buildarch_compat: sparc: noarch

buildarch_compat: alphaev67: alphaev6
buildarch_compat: alphaev6: alphapca56
buildarch_compat: alphapca56: alphaev56
buildarch_compat: alphaev56: alphaev5
buildarch_compat: alphaev5: alpha
buildarch_compat: alpha: noarch

buildarch_compat: m68k: noarch

buildarch_compat: ppc8260: noarch
buildarch_compat: ppc8560: noarch
buildarch_compat: ppc32dy4: noarch
buildarch_compat: ppciseries: noarch
buildarch_compat: ppcpseries: noarch
buildarch_compat: ppc: noarch fat
buildarch_compat: ppc64: noarch fat
buildarch_compat: ppc64pseries: ppc64
buildarch_compat: ppc64iseries: ppc64

buildarch_compat: mips: noarch
buildarch_compat: mipsel: noarch

buildarch_compat: armv4b: noarch
buildarch_compat: armv7l: armv6l
buildarch_compat: armv6l: armv5tejl
buildarch_compat: armv5tejl: armv5tel
buildarch_compat: armv5tel: armv4tl
buildarch_compat: armv4tl: armv4l
buildarch_compat: armv4l: armv3l
buildarch_compat: armv3l: noarch

buildarch_compat: hppa2.0: hppa1.2
buildarch_compat: hppa1.2: hppa1.1
buildarch_compat: hppa1.1: hppa1.0
buildarch_compat: hppa1.0: parisc
buildarch_compat: parisc: noarch

buildarch_compat: atarist: m68kmint noarch
buildarch_compat: atariste: m68kmint noarch
buildarch_compat: ataritt: m68kmint noarch
buildarch_compat: falcon: m68kmint noarch
buildarch_compat: atariclone: m68kmint noarch
buildarch_compat: milan: m68kmint noarch
buildarch_compat: hades: m68kmint noarch

buildarch_compat: s390: noarch
buildarch_compat: s390x: noarch

buildarch_compat: ia64: noarch

buildarch_compat: x86_64: noarch
buildarch_compat: amd64: x86_64
buildarch_compat: ia32e: x86_64

buildarch_compat: sh3: noarch
buildarch_compat: sh4: noarch
buildarch_compat: sh4a: sh4

# \endverbatim
#*/