]> git.pld-linux.org Git - packages/gcc.git/blame - gcc.spec
- fix ltconfig to fix libgcj build in multilib environment
[packages/gcc.git] / gcc.spec
CommitLineData
a9e887db 1#
59503cd5 2# TODO:
879e4a8d
JB
3# - fix libtool(/usr/lib64/../lib64/libgcj.la)
4# i.e. normalize libdir in *.la
75b46569 5# - gconf peer? (but libgcj needs split anyway)
59503cd5 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
75b46569
JB
14%bcond_without alsa # don't build libgcj ALSA MIDI interface
15%bcond_without dssi # don't build libgcj DSSI MIDI interface
16%bcond_without gtk # don't build libgcj GTK peer
17%bcond_without qt # don't build libgcj Qt peer
840a4d6d 18%bcond_with multilib # build with multilib support (it needs glibc[32&64]-devel)
13f1bbe3 19%bcond_with profiling # build with profiling
1a1d3d91 20%bcond_without bootstrap # omit 3-stage bootstrap
c48dab66 21%bcond_with tests # torture gcc
1a1d3d91 22
016817b8 23%if !%{with cxx}
ee2977fa
PS
24%undefine with_java
25%undefine with_objcxx
26%endif
27
016817b8 28%if !%{with objc}
7d320b70
PS
29%undefine with_objcxx
30%endif
31
016817b8 32%if !%{with bootstrap}
c3de157e
PS
33%undefine with_profiling
34%endif
35
ae0daccd 36%ifnarch %{x8664} ppc64 s390x sparc64
23d7249a
JB
37%undefine with_multilib
38%endif
1a1d3d91 39
ae2e17eb 40Summary: GNU Compiler Collection: the C compiler and shared files
8a9bb03c 41