diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-08-27 17:12:12 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-08-27 17:12:12 -0400 |
commit | 93c2970e9fdfe18484908f5498fc4e8a2287dd7d (patch) | |
tree | 0d79495766699e5ef7797e8fec820880ed078670 | |
parent | da861f6a528e0ef7f49e45c119e7205821dcc294 (diff) | |
download | qemu-accel-93c2970e9fdfe18484908f5498fc4e8a2287dd7d.tar.gz qemu-accel-93c2970e9fdfe18484908f5498fc4e8a2287dd7d.tar.bz2 qemu-accel-93c2970e9fdfe18484908f5498fc4e8a2287dd7d.zip |
support gcc 48submit/tizen/20130827.211238
-rw-r--r-- | packaging/qemu-accel-armv7hl.spec | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec index 6770e7f..fb85986 100644 --- a/packaging/qemu-accel-armv7hl.spec +++ b/packaging/qemu-accel-armv7hl.spec @@ -25,7 +25,7 @@ Version: 0.2 Release: 0 AutoReqProv: off BuildRequires: cross-arm-binutils -BuildRequires: cross-armv7hl-gcc47-icecream-backend +BuildRequires: cross-armv7hl-gcc48-icecream-backend #BuildRequires: expect BuildRequires: fdupes BuildRequires: glibc-locale @@ -47,7 +47,7 @@ ExclusiveArch: x86_64 # default path in qemu %define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") %define our_path /emul/%{HOST_ARCH}-for-arm -%define icecream_cross_env cross-armv7hl-gcc47-icecream-backend_x86_64 +%define icecream_cross_env cross-armv7hl-gcc48-icecream-backend_x86_64 %description This package is used in armv7hl architecture builds using qemu to speed up builds @@ -88,7 +88,7 @@ done %if %hijack_gcc # extract cross-compiler mkdir -p cross-compiler-tmp -for executable in $(tar -C cross-compiler-tmp -xvzf /usr/share/icecream-envs/cross-armv7hl-gcc47-icecream-backend_*.tar.gz); do +for executable in $(tar -C cross-compiler-tmp -xvzf /usr/share/icecream-envs/cross-armv7hl-gcc48-icecream-backend_*.tar.gz); do if [ ! -d "cross-compiler-tmp/$executable" ]; then binaries="$binaries cross-compiler-tmp/$executable" fi @@ -102,7 +102,7 @@ mkdir -p %buildroot%{our_path}/usr/share/icecream-envs/%{icecream_cross_env} cp -a /usr/share/icecream-envs/%{icecream_cross_env}.tar.gz \ %buildroot%{our_path}/usr/share/icecream-envs # And extract it for direct usage -tar xvz -C %buildroot%{our_path}/usr/share/icecream-envs/%{icecream_cross_env} -f /usr/share/icecream-envs/cross-armv7hl-gcc47-icecream-backend_*.tar.gz +tar xvz -C %buildroot%{our_path}/usr/share/icecream-envs/%{icecream_cross_env} -f /usr/share/icecream-envs/cross-armv7hl-gcc48-icecream-backend_*.tar.gz # It needs a tmp working directory which is writable install -d -m0777 %buildroot%{our_path}/usr/share/icecream-envs %endif @@ -157,8 +157,8 @@ ln -sf ../lib64/gcc "%{buildroot}%{our_path}/usr/lib/gcc" ln -sf g++ "%{buildroot}%{our_path}/usr/bin/c++" # gcc can also be called cc ln -sf gcc "%{buildroot}%{our_path}/usr/bin/cc" -# gcc can also be called gcc-4.7 -ln -sf gcc "%{buildroot}%{our_path}/usr/bin/gcc-4.7" +# gcc can also be called gcc-4.8 +ln -sf gcc "%{buildroot}%{our_path}/usr/bin/gcc-4.8" # nasty hack: If LIBRARY_PATH is set, native gcc adds the contents to its # library search list, but cross gcc does not. So switch to all |