]>
Commit | Line | Data |
---|---|---|
dfb16231 MM |
1 | # |
2 | # Conditional build: | |
4cc63944 | 3 | %bcond_without ada # build without ADA support |
6d54da48 | 4 | %bcond_without cxx # build without C++ support |
d9101cfa | 5 | %bcond_without fortran # build without Fortran support |
4cc63944 | 6 | %bcond_without java # build without Java support |
4ebbe575 PS |
7 | %bcond_without objc # build without Objective-C support |
8 | %bcond_without objcxx # build without Objective-C++ support | |
d9101cfa | 9 | %bcond_with multilib # build with multilib support (it needs glibc[32&64]-devel) |
658584bf | 10 | %bcond_with profiling # build with profiling |
d9101cfa | 11 | %bcond_without bootstrap # omit 3-stage bootstrap |
7c675e43 | 12 | %bcond_with tests # torture gcc |
d9101cfa | 13 | |
1f5d3f74 PS |
14 | %if %{with multilib} |
15 | # the latest chrpath(64) can't handle 32-bit binaries :/ | |
16 | %define _noautochrpath .*/lib/.*\\.so.* | |
17 | %endif | |
18 | ||
6d54da48 PS |
19 | %if %{without cxx} |
20 | %undefine with_java | |
21 | %undefine with_objcxx | |
22 | %endif | |
23 | ||
0d51b8b7 | 24 | %if %{without objc} |
4ebbe575 PS |
25 | %undefine with_objcxx |
26 | %endif | |
27 | ||
0d51b8b7 PS |
28 | %if %{without bootstrap} |
29 | %undefine with_profiling | |
30 | %endif | |
31 | ||
e9b273c0 | 32 | %ifnarch %{x8664} ppc64 s390x sparc64 |
26fa47ad JB |
33 | %undefine with_multilib |
34 | %endif | |
d9101cfa | 35 | |
44aaa0d4 | 36 | Summary: GNU Compiler Collection: the C compiler and shared files |
064be8f7 | 37 |