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

4.8
Last change on this file since b0f67b53 was bf33c69, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 25, 2008 at 7:26:09 AM

Add _bindir to PATH.

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