]> git.pld-linux.org Git - packages/gcc.git/blame - gcc.spec
- updated, needs tests...
[packages/gcc.git] / gcc.spec
CommitLineData
a9e887db 1#
59503cd5 2# TODO:
0b94ef7a 3# - libgomp subpackage.
59503cd5 4#
a9e887db 5# Conditional build:
b4e5a90f 6%bcond_without ada # build without ADA support
ee2977fa 7%bcond_without cxx # build without C++ support
1a1d3d91 8%bcond_without fortran # build without Fortran support
b4e5a90f 9%bcond_without java # build without Java support
7d320b70
PS
10%bcond_without objc # build without Objective-C support
11%bcond_without objcxx # build without Objective-C++ support
840a4d6d 12%bcond_with multilib # build with multilib support (it needs glibc[32&64]-devel)
13f1bbe3 13%bcond_with profiling # build with profiling
1a1d3d91 14%bcond_without bootstrap # omit 3-stage bootstrap
c48dab66 15%bcond_with tests # torture gcc
1a1d3d91 16
016817b8 17%if !%{with cxx}
ee2977fa
PS
18%undefine with_java
19%undefine with_objcxx
20%endif
21
016817b8 22%if !%{with objc}
7d320b70
PS
23%undefine with_objcxx
24%endif
25
016817b8 26%if !%{with bootstrap}
c3de157e
PS
27%undefine with_profiling
28%endif
29
ae0daccd 30%ifnarch %{x8664} ppc64 s390x sparc64
23d7249a
JB
31%undefine with_multilib
32%endif
1a1d3d91 33
ae2e17eb 34Summary: GNU Compiler Collection: the C compiler and shared files
8a9bb03c 35