4.104.115
Last change
on this file since d03b469 was
34ad1f48,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/18/09 at 10:34:24
|
Rework --with-system-readline handling.
|
-
Property mode set to
100644
|
File size:
941 bytes
|
Line | |
---|
1 | %build |
---|
2 | %if "%{_prefix}" != "/usr" |
---|
3 | export PATH="%{_bindir}:${PATH}" |
---|
4 | %endif |
---|
5 | mkdir -p build |
---|
6 | cd build |
---|
7 | %if "%{_build}" != "%{_host}" |
---|
8 | CFLAGS_FOR_BUILD="-g -O2 -Wall" \ |
---|
9 | %endif |
---|
10 | CFLAGS="$RPM_OPT_FLAGS" \ |
---|
11 | ../gdb-%{gdb_version}/configure \ |
---|
12 | --build=%_build --host=%_host \ |
---|
13 | --target=@tool_target@ \ |
---|
14 | --verbose --disable-nls \ |
---|
15 | --without-included-gettext \ |
---|
16 | --disable-win32-registry \ |
---|
17 | --disable-werror \ |
---|
18 | %{build_sim} \ |
---|
19 | %{?with_system_readline:--with-system-readline} \ |
---|
20 | %if "%{gdb_version}" >= "6.6" |
---|
21 | --with-expat \ |
---|
22 | %endif |
---|
23 | %if "%{gdb_version}" >= "6.8.50" |
---|
24 | %if %{with python} |
---|
25 | --with-python \ |
---|
26 | %else |
---|
27 | --without-python \ |
---|
28 | %endif |
---|
29 | %endif |
---|
30 | --with-sysroot=%{_prefix}/@tool_target@/sys-root \ |
---|
31 | --prefix=%{_prefix} --bindir=%{_bindir} \ |
---|
32 | --includedir=%{_includedir} --libdir=%{_libdir} \ |
---|
33 | --mandir=%{_mandir} --infodir=%{_infodir} |
---|
34 | |
---|
35 | make %{?_smp_mflags} all |
---|
36 | %if %build_infos |
---|
37 | make info |
---|
38 | %endif |
---|
39 | cd .. |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.