diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-sanitizers.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc index 35c9247cc1..c987ccb589 100644 --- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc +++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc | |||
@@ -14,7 +14,9 @@ EXTRA_OECONF_PATHS = "\ | |||
14 | do_configure () { | 14 | do_configure () { |
15 | mtarget=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` | 15 | mtarget=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` |
16 | target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` | 16 | target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` |
17 | hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B} | 17 | if [ -d ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ]; then |
18 | hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B} | ||
19 | fi | ||
18 | 20 | ||
19 | echo "Configuring libsanitizer" | 21 | echo "Configuring libsanitizer" |
20 | rm -rf ${B}/$target/libsanitizer/ | 22 | rm -rf ${B}/$target/libsanitizer/ |