[PATCH] libbacktrace support

Dmitry Plotnikov leitz@ispras.ru
Wed Mar 20 09:42:00 GMT 2013


Yann, All,

Resending with signed-off-by.

Signed-off-by: "Plotnikov Dmitry" <leitz@ispras.ru>

diff -rupdN ct-ng-1.18-clean/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh
ct-ng-1.18/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh
--- ct-ng-1.18-clean/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh
2013-02-01 00:07:53.000000000 +0400
+++ ct-ng-1.18/lib/ct-ng.1.18.0/scripts/build/cc/gcc.sh 2013-03-14
15:18:54.957801549 +0400
@@ -404,6 +407,13 @@ do_cc_core_backend() {
             CT_DoExecLog CFG make ${JOBSFLAGS} configure-gcc
configure-libcpp configure-build-libiberty
             CT_DoExecLog ALL make ${JOBSFLAGS} all-libcpp all-build-libiberty
         fi
+
+        # HACK: gcc-4.8 uses libbacktrace, so build it here.
+        if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libbacktrace" ]; then
+            CT_DoExecLog CFG make ${JOBSFLAGS} configure-libbacktrace
+            CT_DoExecLog ALL make ${JOBSFLAGS} -C libbacktrace all
+        fi
+
         # HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here.
         if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libdecnumber" ]; then
             CT_DoExecLog CFG make ${JOBSFLAGS} configure-libdecnumber

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list