diff options
author | Richard Purdie <richard@openedhand.com> | 2008-05-16 09:28:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-05-16 09:28:06 +0000 |
commit | 43a99745217b7d20c1bf532f5ac3a774c4460535 (patch) | |
tree | d689f588862bcbc34438f4f7babedb5162f63d8a /meta | |
parent | 3c35b00196661077b6f5a6e996c34c9b5d8c244f (diff) | |
download | poky-43a99745217b7d20c1bf532f5ac3a774c4460535.tar.gz |
gcc: Sync libssp changes from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4486 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/gcc/gcc-4.3.0.inc | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-configure-cross.inc | 6 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross_4.3.0.bb | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-package-cross.inc | 6 |
4 files changed, 11 insertions, 5 deletions
diff --git a/meta/packages/gcc/gcc-4.3.0.inc b/meta/packages/gcc/gcc-4.3.0.inc index 02ceea7364..96b7d02501 100644 --- a/meta/packages/gcc/gcc-4.3.0.inc +++ b/meta/packages/gcc/gcc-4.3.0.inc | |||
@@ -67,5 +67,5 @@ SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " | |||
67 | FORTRAN = "" | 67 | FORTRAN = "" |
68 | JAVA = "" | 68 | JAVA = "" |
69 | 69 | ||
70 | EXTRA_OECONF_BASE = " --disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" | 70 | EXTRA_OECONF_BASE = " --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" |
71 | 71 | ||
diff --git a/meta/packages/gcc/gcc-configure-cross.inc b/meta/packages/gcc/gcc-configure-cross.inc index 13c76f976d..68b8fd1ccf 100644 --- a/meta/packages/gcc/gcc-configure-cross.inc +++ b/meta/packages/gcc/gcc-configure-cross.inc | |||
@@ -49,8 +49,10 @@ do_stage_append () { | |||
49 | done | 49 | done |
50 | 50 | ||
51 | #fix up libsupc++ and libstdc++ la files | 51 | #fix up libsupc++ and libstdc++ la files |
52 | sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/lib ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libsupc++.la || true | 52 | for d in lib lib/nof; do |
53 | sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/lib ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/lib/libstdc++.la || true | 53 | sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libsupc++.la || true |
54 | sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-L${CROSS_DIR}/${TARGET_SYS}/$d ${LIBGCCS_VAR} -lc -lm '|" ${CROSS_DIR}/${TARGET_SYS}/$d/libstdc++.la || true | ||
55 | done | ||
54 | } | 56 | } |
55 | 57 | ||
56 | do_package_write_ipk[depends] += "virtual/libc:do_package" | 58 | do_package_write_ipk[depends] += "virtual/libc:do_package" |
diff --git a/meta/packages/gcc/gcc-cross_4.3.0.bb b/meta/packages/gcc/gcc-cross_4.3.0.bb index f51e60ce13..9821d3cd83 100644 --- a/meta/packages/gcc/gcc-cross_4.3.0.bb +++ b/meta/packages/gcc/gcc-cross_4.3.0.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | PR = "r4" | 1 | PR = "r5" |
2 | 2 | ||
3 | require gcc-${PV}.inc | 3 | require gcc-${PV}.inc |
4 | require gcc-cross4.inc | 4 | require gcc-cross4.inc |
diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc index 54294f4fa6..b95ef88e6f 100644 --- a/meta/packages/gcc/gcc-package-cross.inc +++ b/meta/packages/gcc/gcc-package-cross.inc | |||
@@ -2,11 +2,13 @@ INHIBIT_PACKAGE_STRIP ?= "" | |||
2 | OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" | 2 | OLD_INHIBIT_PACKAGE_STRIP := "${INHIBIT_PACKAGE_STRIP}" |
3 | INHIBIT_PACKAGE_STRIP = "1" | 3 | INHIBIT_PACKAGE_STRIP = "1" |
4 | 4 | ||
5 | PACKAGES = "libgcc libstdc++ libg2c libgfortran" | 5 | PACKAGES = "libgcc libssp libstdc++ libg2c libgfortran" |
6 | 6 | ||
7 | # Called from within gcc-cross, so libdir is set wrong | 7 | # Called from within gcc-cross, so libdir is set wrong |
8 | FILES_libg2c = "${target_libdir}/libg2c.so.*" | 8 | FILES_libg2c = "${target_libdir}/libg2c.so.*" |
9 | 9 | ||
10 | FILES_libssp = "${target_libdir}/libssp.so.*" | ||
11 | |||
10 | FILES_libgfortran = "${target_libdir}/libgfortran.so.*" | 12 | FILES_libgfortran = "${target_libdir}/libgfortran.so.*" |
11 | 13 | ||
12 | FILES_libgcc = "${target_base_libdir}/libgcc_s.so.1" | 14 | FILES_libgcc = "${target_base_libdir}/libgcc_s.so.1" |
@@ -40,11 +42,13 @@ do_install () { | |||
40 | mv -f ${D}${prefix}/*/lib/nof/libstdc++.so* ${D}${target_libdir} || true | 42 | mv -f ${D}${prefix}/*/lib/nof/libstdc++.so* ${D}${target_libdir} || true |
41 | mv -f ${D}${prefix}/*/lib/nof/libg2c.so* ${D}${target_libdir} || true | 43 | mv -f ${D}${prefix}/*/lib/nof/libg2c.so* ${D}${target_libdir} || true |
42 | mv -f ${D}${prefix}/*/lib/nof/libgfortran*.so* ${D}${target_libdir} || true | 44 | mv -f ${D}${prefix}/*/lib/nof/libgfortran*.so* ${D}${target_libdir} || true |
45 | mv -f ${D}${prefix}/*/lib/nof/libssp*.so* ${D}${target_libdir} || true | ||
43 | 46 | ||
44 | else | 47 | else |
45 | mv -f ${D}${prefix}/*/lib/libstdc++.so* ${D}${target_libdir} || true | 48 | mv -f ${D}${prefix}/*/lib/libstdc++.so* ${D}${target_libdir} || true |
46 | mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true | 49 | mv -f ${D}${prefix}/*/lib/libg2c.so* ${D}${target_libdir} || true |
47 | mv -f ${D}${prefix}/*/lib/libgfortran*.so* ${D}${target_libdir} || true | 50 | mv -f ${D}${prefix}/*/lib/libgfortran*.so* ${D}${target_libdir} || true |
51 | mv -f ${D}${prefix}/*/lib/libssp*.so* ${D}${target_libdir} || true | ||
48 | fi | 52 | fi |
49 | 53 | ||
50 | 54 | ||