Search
SailfishOS Open Build Service
>
Projects
>
home:LiuQian
>
cross-accel-mipsel
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
cross-mipsel-gcc.spec
@@ -84,40 +84,116 @@ %ifarch x86_64 %global multilib_32_arch i686 %endif +%global gcc_version 4.6.4 +%global gcc_release 1 +%global _unpackaged_files_terminate_build 0 +%global include_gappletviewer 0 +%if !%{crossbuild} +%ifnarch mips mipsel +%global build_cloog 1 +%else +%global build_cloog 0 +%endif +%else +%global build_cloog 0 +%endif +%global build_libstdcxx_docs 0 +%global multilib_64_archs %{nil} +%ifarch x86_64 +%global multilib_32_arch i686 +%endif +%global build_64bit_multilib 0 +%ifarch %{ix86} x86_64 +%global build_libquadmath 1 +%else +%global build_libquadmath 0 +%endif Summary: Various compilers (C, C++, Objective-C, Java, ...) Version: %{gcc_version} -Release: %{gcc_release} +%if %{bootstrap} +Release: 1.1.2 +%else +Release: 1.1.2 +%endif License: GPLv3+, GPLv3+ with exceptions and GPLv2+ with exceptions Group: Development/Languages -URL: http://gcc.gnu.org -Source0: gcc-linaro-4.6-%{gcc_release}.tar.xz +URL: http://launchpad.net/gcc-linaro +Source0: https://launchpad.net/gcc-linaro/4.6/4.6-2013.05/+download/gcc-linaro-4.6-2013.05.tar.bz2 Source1: libgcc_post_upgrade.c +Source2: README.libgcjwebplugin.so Source100: gcc-rpmlintrc Source200: baselibs.conf Source300: precheckin.sh Source301: aaa_README.PACKAGER -BuildRequires: binutils >= 2.19.51.0.14 -BuildRequires: glibc-devel >= 2.4.90-13 +BuildRequires: binutils >= 2.22 BuildRequires: glibc-static -BuildRequires: zlib-devel -BuildRequires: bison -BuildRequires: flex +BuildRequires: zlib-devel, gettext, bison, flex, texinfo BuildRequires: mpc-devel +BuildRequires: glibc-devel >= 2.4.90-13 BuildRequires: elfutils-devel >= 0.72 + %if %{build_cloog} BuildRequires: ppl >= 0.10, ppl-devel >= 0.10, cloog-ppl >= 0.15, cloog-ppl-devel >= 0.15 %endif +%if %{build_libstdcxx_docs} +BuildRequires: doxygen +BuildRequires: graphviz +%endif + +%if !%{crossbuild} Requires: cpp = %{version}-%{release} Requires: libgcc >= %{version}-%{release} Requires: libgomp = %{version}-%{release} Requires: glibc-devel -Requires: binutils >= 2.19.51.0.14 +Requires: binutils >= 2.22 +%endif + +%if !%{crossbuild} + +%if %{build_cloog} +Requires: cloog-ppl >= 0.15 +%endif + +%if %{build_64bit_multilib} +Requires: glibc64bit-helper +%endif + +Requires(post): /sbin/install-info +Requires(preun): /sbin/install-info +Obsoletes: gcc < %{version}-%{release} +Obsoletes: gcc43 +AutoReq: true +# /!crossbuild +%endif +Patch0: gcc46-hack.patch +Patch2: gcc46-c++-builtin-redecl.patch +Patch4: gcc46-java-nomulti.patch +Patch7: gcc46-rh330771.patch +Patch8: gcc46-i386-libgomp.patch +Patch10: gcc46-libgomp-omp_h-multilib.patch +Patch11: gcc46-libtool-no-rpath.patch +Patch12: gcc46-cloog-dl.patch +Patch14: gcc46-pr38757.patch +Patch15: gcc46-libstdc++-docs.patch +Patch18: gcc46-ppl-0.10.patch +Patch19: gcc46-pr47858.patch +Patch20: gcc46-x86_64-nolib64.patch + +Patch40: gcc46-use-atom.patch Patch41: libgcc_post_upgrade.c.arm.patch -Patch1000: gcc_arm_hard_float_dynamic_linker_revert.patch +Patch42: gcc46-libiberty-conftest.patch +Patch44: gcc-hash-style-gnu.diff +Patch45: gcc46-MIPS-boehm-gc-stack-qemu.patch +Patch46: gcc-4.6.0-mips_fix-1.patch +Patch47: gcc46-fuse-ld-gold.patch + +Patch50: fix-stable-debugtypes.patch + +Patch9999: gcc44-ARM-boehm-gc-stack-qemu.patch #We need -gnueabi indicator for ARM %ifnarch %{arm}