4.8
Rev | Line | |
---|
[59c3dfe] | 1 | %build |
---|
[bf33c69e] | 2 | %if "%{_prefix}" != "/usr" |
---|
| 3 | export PATH="%{_bindir}:${PATH}" |
---|
| 4 | %endif |
---|
[59c3dfe] | 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 \ |
---|
[760e8186] | 15 | --enable-sim \ |
---|
[aa26724] | 16 | %if "%{gdb_version}" >= "6.6" |
---|
| 17 | --with-system-readline \ |
---|
| 18 | --with-expat \ |
---|
| 19 | %endif |
---|
[59c3dfe] | 20 | --with-sysroot=%{_prefix}/@tool_target@/sys-root \ |
---|
| 21 | --prefix=%{_prefix} --bindir=%{_bindir} \ |
---|
| 22 | --includedir=%{_includedir} --libdir=%{_libdir} \ |
---|
| 23 | --mandir=%{_mandir} --infodir=%{_infodir} |
---|
| 24 | |
---|
[ae8600f] | 25 | make %{?_smp_mflags} all |
---|
[e8a6236] | 26 | %if %build_infos |
---|
[59c3dfe] | 27 | make info |
---|
[13501927] | 28 | %endif |
---|
[59c3dfe] | 29 | cd .. |
---|
| 30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.