summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.0.2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc-4.0.2.inc')
-rw-r--r--packages/gcc/gcc-4.0.2.inc37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.0.2.inc b/packages/gcc/gcc-4.0.2.inc
new file mode 100644
index 0000000000..2945592659
--- /dev/null
+++ b/packages/gcc/gcc-4.0.2.inc
@@ -0,0 +1,37 @@
+DESCRIPTION = "The GNU cc and gcc C compilers."
+HOMEPAGE = "http://www.gnu.org/software/gcc/"
+SECTION = "devel"
+LICENSE = "GPL"
+DEPENDS = "mpfr gmp"
+PR = "r7"
+
+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 \
+ file://gcc-4.0.2-atmel.0.99.2.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 = ""