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