]> git.pld-linux.org Git - packages/gcc.git/blame - gcc.spec
- new snap, nfy.
[packages/gcc.git] / gcc.spec
CommitLineData
a9e887db 1#
8a9bb03c
JB
2# TODO:
3# - http://gcc.gnu.org/PR11203 (inline-asm)
8a9bb03c
JB
4# - http://gcc.gnu.org/PR20128 (ice with mudflap + profile generate)
5#
a9e887db 6# Conditional build:
b4e5a90f 7%bcond_without ada # build without ADA 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
1a1d3d91
PS
12%bcond_with multilib # build with multilib support (it needs glibc[32&64]-devel)
13%bcond_without profiling # build without profiling
14%bcond_without bootstrap # omit 3-stage bootstrap
c48dab66 15%bcond_with tests # torture gcc
1a1d3d91 16
8aa8455e
PS
17# debuginfo not needed for devel snaps.
18%define _enable_debug_packages 0
19
c3de157e 20%if %{without objc}
7d320b70
PS
21%undefine with_objcxx
22%endif
23
c3de157e
PS
24%if %{without bootstrap}
25%undefine with_profiling
26%endif
27
ae0daccd 28%ifnarch %{x8664} ppc64 s390x sparc64
23d7249a
JB
29%undefine with_multilib
30%endif
1a1d3d91 31
ae2e17eb 32Summary: GNU Compiler Collection: the C compiler and shared files
8a9bb03c 33