source: rtems/contrib/crossrpms/gdb/build.add @ facca98

4.104.115
Last change on this file since facca98 was cd9e9b55, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/24/09 at 05:31:05

Disable python.

  • Property mode set to 100644
File size: 901 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%if "%{gdb_version}" >= "6.7"
20    --with-system-readline \
21%endif
22%if "%{gdb_version}" >= "6.6"
23    --with-expat \
24%endif
25%if "%{gdb_version}" >= "6.8.50"
26    --without-python \
27%endif
28    --with-sysroot=%{_prefix}/@tool_target@/sys-root \
29    --prefix=%{_prefix} --bindir=%{_bindir} \
30    --includedir=%{_includedir} --libdir=%{_libdir} \
31    --mandir=%{_mandir} --infodir=%{_infodir}
32
33  make %{?_smp_mflags} all
34%if %build_infos
35  make info
36%endif
37  cd ..
38
Note: See TracBrowser for help on using the repository browser.