diff options
| -rw-r--r-- | meta-oe/recipes-support/nss/nss_3.60.1.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/nss/nss_3.60.1.bb b/meta-oe/recipes-support/nss/nss_3.60.1.bb index dc147efea4..25a2bc2513 100644 --- a/meta-oe/recipes-support/nss/nss_3.60.1.bb +++ b/meta-oe/recipes-support/nss/nss_3.60.1.bb | |||
| @@ -52,6 +52,14 @@ do_configure_prepend_libc-musl () { | |||
| 52 | sed -i -e '/-DHAVE_SYS_CDEFS_H/d' ${S}/nss/lib/dbm/config/config.mk | 52 | sed -i -e '/-DHAVE_SYS_CDEFS_H/d' ${S}/nss/lib/dbm/config/config.mk |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | do_configure_prepend_powerpc64le_toolchain-clang () { | ||
| 56 | sed -i -e 's/\-std=c99/\-std=gnu99/g' ${S}/nss/coreconf/command.mk | ||
| 57 | } | ||
| 58 | |||
| 59 | do_configure_prepend_powerpc64_toolchain-clang () { | ||
| 60 | sed -i -e 's/\-std=c99/\-std=gnu99/g' ${S}/nss/coreconf/command.mk | ||
| 61 | } | ||
| 62 | |||
| 55 | do_compile_prepend_class-native() { | 63 | do_compile_prepend_class-native() { |
| 56 | export NSPR_INCLUDE_DIR=${STAGING_INCDIR_NATIVE}/nspr | 64 | export NSPR_INCLUDE_DIR=${STAGING_INCDIR_NATIVE}/nspr |
| 57 | export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} | 65 | export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} |
| @@ -93,7 +101,7 @@ do_compile() { | |||
| 93 | 101 | ||
| 94 | if [ "${TARGET_ARCH}" = "powerpc" ]; then | 102 | if [ "${TARGET_ARCH}" = "powerpc" ]; then |
| 95 | OS_TEST=ppc | 103 | OS_TEST=ppc |
| 96 | elif [ "${TARGET_ARCH}" = "powerpc64" ]; then | 104 | elif [ "${TARGET_ARCH}" = "powerpc64" -o "${TARGET_ARCH}" = "powerpc64le" ]; then |
| 97 | OS_TEST=ppc64 | 105 | OS_TEST=ppc64 |
| 98 | elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then | 106 | elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then |
| 99 | OS_TEST=mips | 107 | OS_TEST=mips |
| @@ -151,7 +159,7 @@ do_install() { | |||
| 151 | 159 | ||
| 152 | if [ "${TARGET_ARCH}" = "powerpc" ]; then | 160 | if [ "${TARGET_ARCH}" = "powerpc" ]; then |
| 153 | OS_TEST=ppc | 161 | OS_TEST=ppc |
| 154 | elif [ "${TARGET_ARCH}" = "powerpc64" ]; then | 162 | elif [ "${TARGET_ARCH}" = "powerpc64" -o "${TARGET_ARCH}" = "powerpc64le" ]; then |
| 155 | OS_TEST=ppc64 | 163 | OS_TEST=ppc64 |
| 156 | elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then | 164 | elif [ "${TARGET_ARCH}" = "mips" -o "${TARGET_ARCH}" = "mipsel" -o "${TARGET_ARCH}" = "mips64" -o "${TARGET_ARCH}" = "mips64el" ]; then |
| 157 | OS_TEST=mips | 165 | OS_TEST=mips |
