diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-sanitizers.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc index 668e14a59f..9e643ee277 100644 --- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc +++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc | |||
| @@ -35,6 +35,11 @@ do_compile () { | |||
| 35 | do_install () { | 35 | do_install () { |
| 36 | cd ${B}/${TARGET_SYS}/libsanitizer/ | 36 | cd ${B}/${TARGET_SYS}/libsanitizer/ |
| 37 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/libsanitizer/ install | 37 | oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/${TARGET_SYS}/libsanitizer/ install |
| 38 | if [ -d ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include ]; then | ||
| 39 | install -d ${D}${libdir}/${TARGET_SYS}/${BINV}/include | ||
| 40 | mv ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include/* ${D}${libdir}/${TARGET_SYS}/${BINV}/include | ||
| 41 | rmdir --ignore-fail-on-non-empty -p ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/include | ||
| 42 | fi | ||
| 38 | if [ -d ${D}${infodir} ]; then | 43 | if [ -d ${D}${infodir} ]; then |
| 39 | rmdir --ignore-fail-on-non-empty -p ${D}${infodir} | 44 | rmdir --ignore-fail-on-non-empty -p ${D}${infodir} |
| 40 | fi | 45 | fi |
| @@ -109,4 +114,4 @@ FILES_libtsan-dev += "\ | |||
| 109 | " | 114 | " |
| 110 | FILES_libtsan-staticdev += "${libdir}/libtsan.a" | 115 | FILES_libtsan-staticdev += "${libdir}/libtsan.a" |
| 111 | 116 | ||
| 112 | FILES_${PN} = "${libdir}/*.spec ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/sanitizer/*.h" | 117 | FILES_${PN} = "${libdir}/*.spec ${libdir}/${TARGET_SYS}/${BINV}/include/sanitizer/*.h" |
