gcc/gcc.spec

changeset 378
16cc9d2eceb2
parent 338
1153ac6bac7e
child 406
cd6aad0e0d4e
equal deleted inserted replaced
8:2307e53e5fc7 9:a60fd5877c0a
34 Distribution: OpenPKG Community 34 Distribution: OpenPKG Community
35 Class: CORE 35 Class: CORE
36 Group: Compiler 36 Group: Compiler
37 License: GPL 37 License: GPL
38 Version: %{V_full} 38 Version: %{V_full}
39 Release: 20110332 39 Release: 20110400
40 40
41 # package options 41 # package options
42 %option with_binutils yes 42 %option with_binutils yes
43 %option with_cxx yes 43 %option with_cxx yes
44 %option with_objc no 44 %option with_objc no
428 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*-g++ >/dev/null 2>&1 || true 428 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*-g++ >/dev/null 2>&1 || true
429 %endif 429 %endif
430 %if "%{with_java}" == "yes" 430 %if "%{with_java}" == "yes"
431 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*-gcj >/dev/null 2>&1 || true 431 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*-gcj >/dev/null 2>&1 || true
432 %endif 432 %endif
433 %if "%{with_fortran}" == "yes"
434 rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/*-gfortran >/dev/null 2>&1 || true
435 %endif
433 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true 436 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
434 for prog in cc1 cc1plus collect2 cpp; do 437 for prog in cc1 cc1plus collect2 cpp; do
435 strip $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/${prog} \ 438 strip $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/${prog} \
436 >/dev/null 2>&1 || true 439 >/dev/null 2>&1 || true
437 done 440 done

mercurial