diff options
author | Hyung-Kyu (HQ) Choi <hk0110.choi@samsung.com> | 2016-02-11 20:11:21 +0900 |
---|---|---|
committer | Hyung-Kyu (HQ) Choi <hk0110.choi@samsung.com> | 2016-02-11 20:11:21 +0900 |
commit | 354bbb298cf040a04e31a1b79bd059985d81a8d9 (patch) | |
tree | 80b498948690faef33148f93b846e18a5e1fc001 | |
parent | 9ff0a9e840d7d144f791a67859efa7711222c47f (diff) | |
download | qemu-accel-sandbox/hk0110/disable_fortran.tar.gz qemu-accel-sandbox/hk0110/disable_fortran.tar.bz2 qemu-accel-sandbox/hk0110/disable_fortran.zip |
packaging: Remove gfortran and f951, because gcc doesn't generate them anymore.sandbox/hk0110/disable_fortran
This patch should be applied together with gcc patch which disables fortran compiler.
Change-Id: Ic8899da25a46a78895395baee494a270ae1685c0
Signed-off-by: Hyung-Kyu (HQ) Choi <hk0110.choi@samsung.com>
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 10 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 10 | ||||
-rw-r--r-- | packaging/qemu-accel.spec.in | 10 |
3 files changed, 15 insertions, 15 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index b5418cc..6281f62 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.spec @@ -118,8 +118,8 @@ for executable in $LD \ %{_libdir}/python${python_version}/site-packages/*/*.so \ %{_bindir}/{ccmake,cmake,cpack,ctest} \ %{_bindir}/%{target_arch}-{addr2line,ar,as,c++filt,dwp,elfedit,gprof,ld,ld.bfd,ld.gold,nm,objcopy,objdump,ranlib,readelf,size,strings,strip} \ - %{_bindir}/%{target_arch}-{c++,g++,cpp,gcc,gcc-${gcc_version},gcc-ar,gcc-nm,gcc-ranlib,gcov,gfortran} \ - %{libdir}/gcc/%{target_arch}/${gcc_version}/{cc1,cc1plus,collect2,f951,lto1,lto-wrapper,liblto_plugin.so} \ + %{_bindir}/%{target_arch}-{c++,g++,cpp,gcc,gcc-${gcc_version},gcc-ar,gcc-nm,gcc-ranlib,gcov} \ + %{libdir}/gcc/%{target_arch}/${gcc_version}/{cc1,cc1plus,collect2,lto1,lto-wrapper,liblto_plugin.so} \ %{_bindir}/file \ %{_bindir}/{find,xargs} do @@ -230,7 +230,7 @@ cp %{_libdir}/python${python_version}/encodings/*.py %{buildroot}%{our_path}%{_l # rename gcc binaries -for bin in c++ g++ cpp gcc gcc-ar gcc-nm gcc-ranlib gfortran +for bin in c++ g++ cpp gcc gcc-ar gcc-nm gcc-ranlib do mv %{buildroot}%{our_path}%{_bindir}/%{target_arch}-$bin %{buildroot}/%{our_path}%{_bindir}/$bin ln -s $bin %{buildroot}%{our_path}%{_bindir}/%{target_arch}-$bin @@ -249,11 +249,11 @@ sed -i -e "s/x86_64/armv7l/g" %{buildroot}%{our_path}%{_bindir}/bash # create symlinks for gcc build (CC_FOR_TARGET) mkdir -p %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc -for binary in as cpp gcc-ar gcc-nm gcc-ranlib gcov gfortran nm +for binary in as cpp gcc-ar gcc-nm gcc-ranlib gcov nm do ln -sf %{our_path}%{_bindir}/${binary} %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc/${binary} done -for binary in cc1 cc1plus collect2 f951 lto1 lto-wrapper +for binary in cc1 cc1plus collect2 lto1 lto-wrapper do ln -sf %{our_path}/usr/lib/gcc/%{target_arch}/${gcc_version}/${binary} %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc/${binary} done diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index 9164129..c00b5df 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -118,8 +118,8 @@ for executable in $LD \ %{_libdir}/python${python_version}/site-packages/*/*.so \ %{_bindir}/{ccmake,cmake,cpack,ctest} \ %{_bindir}/%{target_arch}-{addr2line,ar,as,c++filt,dwp,elfedit,gprof,ld,ld.bfd,ld.gold,nm,objcopy,objdump,ranlib,readelf,size,strings,strip} \ - %{_bindir}/%{target_arch}-{c++,g++,cpp,gcc,gcc-${gcc_version},gcc-ar,gcc-nm,gcc-ranlib,gcov,gfortran} \ - %{libdir}/gcc/%{target_arch}/${gcc_version}/{cc1,cc1plus,collect2,f951,lto1,lto-wrapper,liblto_plugin.so} \ + %{_bindir}/%{target_arch}-{c++,g++,cpp,gcc,gcc-${gcc_version},gcc-ar,gcc-nm,gcc-ranlib,gcov} \ + %{libdir}/gcc/%{target_arch}/${gcc_version}/{cc1,cc1plus,collect2,lto1,lto-wrapper,liblto_plugin.so} \ %{_bindir}/file \ %{_bindir}/{find,xargs} do @@ -230,7 +230,7 @@ cp %{_libdir}/python${python_version}/encodings/*.py %{buildroot}%{our_path}%{_l # rename gcc binaries -for bin in c++ g++ cpp gcc gcc-ar gcc-nm gcc-ranlib gfortran +for bin in c++ g++ cpp gcc gcc-ar gcc-nm gcc-ranlib do mv %{buildroot}%{our_path}%{_bindir}/%{target_arch}-$bin %{buildroot}/%{our_path}%{_bindir}/$bin ln -s $bin %{buildroot}%{our_path}%{_bindir}/%{target_arch}-$bin @@ -249,11 +249,11 @@ sed -i -e "s/x86_64/armv7l/g" %{buildroot}%{our_path}%{_bindir}/bash # create symlinks for gcc build (CC_FOR_TARGET) mkdir -p %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc -for binary in as cpp gcc-ar gcc-nm gcc-ranlib gcov gfortran nm +for binary in as cpp gcc-ar gcc-nm gcc-ranlib gcov nm do ln -sf %{our_path}%{_bindir}/${binary} %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc/${binary} done -for binary in cc1 cc1plus collect2 f951 lto1 lto-wrapper +for binary in cc1 cc1plus collect2 lto1 lto-wrapper do ln -sf %{our_path}/usr/lib/gcc/%{target_arch}/${gcc_version}/${binary} %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc/${binary} done diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index 998e559..bc7a7fb 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -115,8 +115,8 @@ for executable in $LD \ %{_libdir}/python${python_version}/site-packages/*/*.so \ %{_bindir}/{ccmake,cmake,cpack,ctest} \ %{_bindir}/%{target_arch}-{addr2line,ar,as,c++filt,dwp,elfedit,gprof,ld,ld.bfd,ld.gold,nm,objcopy,objdump,ranlib,readelf,size,strings,strip} \ - %{_bindir}/%{target_arch}-{c++,g++,cpp,gcc,gcc-${gcc_version},gcc-ar,gcc-nm,gcc-ranlib,gcov,gfortran} \ - %{libdir}/gcc/%{target_arch}/${gcc_version}/{cc1,cc1plus,collect2,f951,lto1,lto-wrapper,liblto_plugin.so} \ + %{_bindir}/%{target_arch}-{c++,g++,cpp,gcc,gcc-${gcc_version},gcc-ar,gcc-nm,gcc-ranlib,gcov} \ + %{libdir}/gcc/%{target_arch}/${gcc_version}/{cc1,cc1plus,collect2,lto1,lto-wrapper,liblto_plugin.so} \ %{_bindir}/file \ %{_bindir}/{find,xargs} do @@ -227,7 +227,7 @@ cp %{_libdir}/python${python_version}/encodings/*.py %{buildroot}%{our_path}%{_l # rename gcc binaries -for bin in c++ g++ cpp gcc gcc-ar gcc-nm gcc-ranlib gfortran +for bin in c++ g++ cpp gcc gcc-ar gcc-nm gcc-ranlib do mv %{buildroot}%{our_path}%{_bindir}/%{target_arch}-$bin %{buildroot}/%{our_path}%{_bindir}/$bin ln -s $bin %{buildroot}%{our_path}%{_bindir}/%{target_arch}-$bin @@ -246,11 +246,11 @@ sed -i -e "s/x86_64/armv7l/g" %{buildroot}%{our_path}%{_bindir}/bash # create symlinks for gcc build (CC_FOR_TARGET) mkdir -p %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc -for binary in as cpp gcc-ar gcc-nm gcc-ranlib gcov gfortran nm +for binary in as cpp gcc-ar gcc-nm gcc-ranlib gcov nm do ln -sf %{our_path}%{_bindir}/${binary} %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc/${binary} done -for binary in cc1 cc1plus collect2 f951 lto1 lto-wrapper +for binary in cc1 cc1plus collect2 lto1 lto-wrapper do ln -sf %{our_path}/usr/lib/gcc/%{target_arch}/${gcc_version}/${binary} %{buildroot}%{our_path}/home/abuild/rpmbuild/BUILD/gcc-${gcc_version}/obj/gcc/${binary} done |