]> git.pld-linux.org Git - packages/gcc.git/blame - gcc.spec
- more fixes...
[packages/gcc.git] / gcc.spec
CommitLineData
a9e887db 1#
6a1c73b6
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#
a9e887db 7# Conditional build:
b4e5a90f 8%bcond_without ada # build without ADA support
ee2977fa 9%bcond_without cxx # build without C++ support
1a1d3d91 10%bcond_without fortran # build without Fortran support
b4e5a90f 11%bcond_without java # build without Java support
7d320b70
PS
12%bcond_without objc # build without Objective-C support
13%bcond_without objcxx # build without Objective-C++ support
1a1d3d91 14%bcond_with multilib # build with multilib support (it needs glibc[32&64]-devel)
13f1bbe3 15%bcond_with profiling # build with profiling
1a1d3d91 16%bcond_without bootstrap # omit 3-stage bootstrap
c48dab66 17%bcond_with tests # torture gcc
1a1d3d91 18
d75833e2
PS
19%if %{with multilib}
20# the latest chrpath(64) can't handle 32-bit binaries :/
21%define _noautochrpath .*/lib/.*\\.so.*
22%endif
23
ee2977fa
PS
24%if %{without cxx}
25%undefine with_java
26%undefine with_objcxx
27%endif
28
c3de157e 29%if %{without objc}
7d320b70
PS
30%undefine with_objcxx
31%endif
32
c3de157e
PS
33%if %{without bootstrap}
34%undefine with_profiling
35%endif
36
ae0daccd 37%ifnarch %{x8664} ppc64 s390x sparc64
23d7249a
JB
38%undefine with_multilib
39%endif
1a1d3d91 40
ae2e17eb 41Summary: GNU Compiler Collection: the C compiler and shared files
8a9bb03c 42