summaryrefslogtreecommitdiff
path: root/gcc/gcc-cross_3.3.3.oe
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc-cross_3.3.3.oe')
-rw-r--r--gcc/gcc-cross_3.3.3.oe8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/gcc-cross_3.3.3.oe b/gcc/gcc-cross_3.3.3.oe
index fdf9292ac4..d172d6ac0b 100644
--- a/gcc/gcc-cross_3.3.3.oe
+++ b/gcc/gcc-cross_3.3.3.oe
@@ -2,7 +2,7 @@ include gcc_${PV}.oe
inherit cross
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/gcc-${PV}"
-DEPENDS = "virtual/${TARGET_PREFIX}binutils glibc patcher-native"
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
PACKAGES = "libgcc"
@@ -11,6 +11,8 @@ INHIBIT_PACKAGE_STRIP = 1
EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
--with-gxx-include-dir=${CROSS_DIR}/${TARGET_SYS}/include/c++ \
--disable-nls \
+ --with-gnu-ld \
+ --enable-multilib \
--enable-threads=posix \
--enable-symvers=gnu \
--enable-__cxa_atexit \
@@ -18,8 +20,8 @@ EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \
--enable-shared \
--enable-c99 \
--enable-long-long \
- --program-prefix=${TARGET_PREFIX} \
- ${@['--with-headers=${CROSS_DIR}/${TARGET_SYS}/include', '']['${BUILD_SYS}' == '${HOST_SYS}']}"
+ --enable-target-optspace \
+ --program-prefix=${TARGET_PREFIX}"
FILES_libgcc = "/lib/libgcc_s.so.*"