source: rtems/contrib/crossrpms/gdb/build.add @ 84f86cb

4.104.114.95
Last change on this file since 84f86cb was 49deaec, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 31, 2007 at 5:28:40 AM

Force building against expat

  • Property mode set to 100644
File size: 614 bytes
Line 
1%build
2  mkdir -p build
3  cd build
4  CFLAGS="$RPM_OPT_FLAGS" \
5  ../gdb-%{gdb_version}/configure \
6    --build=%_build --host=%_host \
7    --target=@tool_target@ \
8    --verbose --disable-nls \
9    --without-included-gettext \
10    --disable-win32-registry \
11    --disable-werror \
12    --enable-sim \
13%if "%{gdb_version}" >= "6.6"
14    --with-expat \
15%endif
16    --with-sysroot=%{_prefix}/@tool_target@/sys-root \
17    --prefix=%{_prefix} --bindir=%{_bindir} \
18    --includedir=%{_includedir} --libdir=%{_libdir} \
19    --mandir=%{_mandir} --infodir=%{_infodir}
20
21  make all
22%if %build_infos
23  make info
24%endif
25  cd ..
26
Note: See TracBrowser for help on using the repository browser.