4.104.114.84.95
Last change
on this file since 7989747 was
7989747,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/23/06 at 03:45:43
|
2006-08-23 Ralf Corsépius <ralf.corsepius@…>
- gcc/build.add: Revert --disable-libssp etc. hacks.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | %build |
---|
2 | mkdir -p build |
---|
3 | |
---|
4 | cd build |
---|
5 | |
---|
6 | languages="c" |
---|
7 | %if %build_cxx |
---|
8 | languages="$languages,c++" |
---|
9 | %endif |
---|
10 | %if %build_g77 |
---|
11 | languages="$languages,g77" |
---|
12 | %endif |
---|
13 | %if %build_f95 |
---|
14 | languages="$languages,f95" |
---|
15 | %endif |
---|
16 | %if %build_gcj |
---|
17 | languages="$languages,java" |
---|
18 | %endif |
---|
19 | %if %build_objc |
---|
20 | languages="$languages,objc" |
---|
21 | %endif |
---|
22 | %if %build_gnat |
---|
23 | languages="$languages,ada" |
---|
24 | %endif |
---|
25 | %if %build_libgcj |
---|
26 | optargs="--enable-libgcj" |
---|
27 | %endif |
---|
28 | %if "%{_prefix}" != "/usr" |
---|
29 | export PATH="%{_bindir}:${PATH}" |
---|
30 | %endif |
---|
31 | |
---|
32 | CC="%{__cc} ${RPM_OPT_FLAGS}" \ |
---|
33 | ../gcc-%{gcc_version}/configure \ |
---|
34 | --prefix=%{_prefix} \ |
---|
35 | --bindir=%{_bindir} \ |
---|
36 | --includedir=%{_includedir} \ |
---|
37 | --libdir=%{_libdir} \ |
---|
38 | --mandir=%{_mandir} \ |
---|
39 | --infodir=%{_infodir} \ |
---|
40 | --datadir=%{_datadir} \ |
---|
41 | --build=%_build --host=%_host \ |
---|
42 | --target=@tool_target@ \ |
---|
43 | --with-gnu-as --with-gnu-ld --verbose \ |
---|
44 | --with-newlib \ |
---|
45 | --with-system-zlib \ |
---|
46 | --disable-nls --without-included-gettext \ |
---|
47 | --disable-win32-registry \ |
---|
48 | --enable-version-specific-runtime-libs \ |
---|
49 | --enable-threads \ |
---|
50 | --with-sysroot=%{_prefix}/@tool_target@/sys-root \ |
---|
51 | --enable-languages="$languages" $optargs |
---|
52 | |
---|
53 | %if "%_host" != "%_build" |
---|
54 | # Bug in gcc-3.2.1: |
---|
55 | # Somehow, gcc doesn't get syslimits.h right for Cdn-Xs |
---|
56 | mkdir -p gcc/include |
---|
57 | cp ../gcc-%{gcc_pkgvers}/gcc/gsyslimits.h gcc/include/syslimits.h |
---|
58 | %endif |
---|
59 | |
---|
60 | make all |
---|
61 | %if %build_infos |
---|
62 | make info |
---|
63 | %endif |
---|
64 | cd .. |
---|
65 | |
---|
Note: See
TracBrowser
for help on using the repository browser.