]> git.pld-linux.org Git - packages/gcc4.git/blame - gcc4.spec
- pr22533 ada patch updated, cosmetics, release 0.2.
[packages/gcc4.git] / gcc4.spec
CommitLineData
dfb16231 1#
064be8f7
JB
2# TODO:
3# - http://gcc.gnu.org/PR11203 (inline-asm)
064be8f7
JB
4# - http://gcc.gnu.org/PR20128 (ice with mudflap + profile generate)
5#
dfb16231 6# Conditional build:
4cc63944 7%bcond_without ada # build without ADA support
6d54da48 8%bcond_without cxx # build without C++ support
d9101cfa 9%bcond_without fortran # build without Fortran support
4cc63944 10%bcond_without java # build without Java support
4ebbe575
PS
11%bcond_without objc # build without Objective-C support
12%bcond_without objcxx # build without Objective-C++ support
d9101cfa
PS
13%bcond_with multilib # build with multilib support (it needs glibc[32&64]-devel)
14%bcond_without profiling # build without profiling
15%bcond_without bootstrap # omit 3-stage bootstrap
7c675e43 16%bcond_with tests # torture gcc
d9101cfa 17
f8be8a1e
PS
18# debuginfo not needed for devel snaps.
19%define _enable_debug_packages 0
20
1f5d3f74
PS
21%if %{with multilib}
22# the latest chrpath(64) can't handle 32-bit binaries :/
23%define _noautochrpath .*/lib/.*\\.so.*
24%endif
25
6d54da48
PS
26%if %{without cxx}
27%undefine with_java
28%undefine with_objcxx
29%endif
30
0d51b8b7 31%if %{without objc}
4ebbe575
PS
32%undefine with_objcxx
33%endif
34
0d51b8b7
PS
35%if %{without bootstrap}
36%undefine with_profiling
37%endif
38
e9b273c0 39%ifnarch %{x8664} ppc64 s390x sparc64
26fa47ad
JB
40%undefine with_multilib
41%endif
d9101cfa 42
44aaa0d4 43Summary: GNU Compiler Collection: the C compiler and shared files
064be8f7 44