diff options
| -rw-r--r-- | meta-oe/recipes-support/nss/nss_3.60.1.bb | 5 |
1 files changed, 4 insertions, 1 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 25a2bc2513..0d668ba067 100644 --- a/meta-oe/recipes-support/nss/nss_3.60.1.bb +++ b/meta-oe/recipes-support/nss/nss_3.60.1.bb | |||
| @@ -76,7 +76,6 @@ do_compile_prepend_class-native() { | |||
| 76 | 76 | ||
| 77 | do_compile() { | 77 | do_compile() { |
| 78 | export NSPR_INCLUDE_DIR=${STAGING_INCDIR}/nspr | 78 | export NSPR_INCLUDE_DIR=${STAGING_INCDIR}/nspr |
| 79 | export NSS_ENABLE_WERROR=0 | ||
| 80 | 79 | ||
| 81 | export CROSS_COMPILE=1 | 80 | export CROSS_COMPILE=1 |
| 82 | export NATIVE_CC="${BUILD_CC}" | 81 | export NATIVE_CC="${BUILD_CC}" |
| @@ -84,6 +83,10 @@ do_compile() { | |||
| 84 | export NATIVE_FLAGS="${BUILD_CFLAGS} -DLINUX -Dlinux" | 83 | export NATIVE_FLAGS="${BUILD_CFLAGS} -DLINUX -Dlinux" |
| 85 | export BUILD_OPT=1 | 84 | export BUILD_OPT=1 |
| 86 | 85 | ||
| 86 | # POSIX.1-2001 states that the behaviour of getcwd() when passing a null | ||
| 87 | # pointer as the buf argument, is unspecified. | ||
| 88 | export NATIVE_FLAGS="${NATIVE_FLAGS} -DGETCWD_CANT_MALLOC" | ||
| 89 | |||
| 87 | export FREEBL_NO_DEPEND=1 | 90 | export FREEBL_NO_DEPEND=1 |
| 88 | export FREEBL_LOWHASH=1 | 91 | export FREEBL_LOWHASH=1 |
| 89 | 92 | ||
