diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index e9f2cf16e8..dc903c2b88 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc | |||
| @@ -68,7 +68,8 @@ do_configure () { | |||
| 68 | # libstdc++ isn't built yet so CXX would error not able to find it which breaks stdc++'s configure | 68 | # libstdc++ isn't built yet so CXX would error not able to find it which breaks stdc++'s configure |
| 69 | # tests. Create a dummy empty lib for the purposes of configure. | 69 | # tests. Create a dummy empty lib for the purposes of configure. |
| 70 | mkdir -p ${WORKDIR}/dummylib | 70 | mkdir -p ${WORKDIR}/dummylib |
| 71 | touch ${WORKDIR}/dummylib/libstdc++.so | 71 | touch ${WORKDIR}/dummylib/dummylib.c |
| 72 | ${CC} ${WORKDIR}/dummylib/dummylib.c -shared -o ${WORKDIR}/dummylib/libstdc++.so | ||
| 72 | for d in libgcc ${RUNTIMETARGET}; do | 73 | for d in libgcc ${RUNTIMETARGET}; do |
| 73 | echo "Configuring $d" | 74 | echo "Configuring $d" |
| 74 | rm -rf ${B}/${TARGET_SYS}/$d/ | 75 | rm -rf ${B}/${TARGET_SYS}/$d/ |
