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