summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc_4.0.2.bb
blob: f8128977866adf299e19a720d4c5595a2f6d3ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
LICENSE = "GPL"
DEPENDS = "mpfr gmp"
PR = "r3"

inherit autotools gettext

require gcc-package.inc

SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
	file://arm-nolibfloat.patch;patch=1 \
	file://arm-softfloat.patch;patch=1 \
	file://ldflags.patch;patch=1 \
	file://GCOV_PREFIX_STRIP-cross-profile_4.1.patch;patch=1 \
	file://zecke-xgcc-cpp.patch;patch=1 "

# uclibc patches below
SRC_URI_append = " file://100-uclibc-conf.patch;patch=1   \
                   file://200-uclibc-locale.patch;patch=1 \
                   file://301-missing-execinfo_h.patch;patch=1 \
                   file://302-c99-snprintf.patch;patch=1  \
                   file://303-c99-complex-ugly-hack.patch;patch=1 \
                   file://800-arm-bigendian.patch;patch=1 \
                   file://zecke-host-cpp-ac-hack.patch;patch=1 "

SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "


require gcc4-build.inc

EXTRA_OECONF += "--disable-libssp"

FORTRAN = ""
HAS_GFORTRAN = ""
HAS_G2C = "no"