diff options
author | Guido Vranken <guidovranken@users.noreply.github.com> | 2022-07-06 05:31:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 13:31:20 +1000 |
commit | 5d111cce1478f54c323014b01a338a1e5cd53ba2 (patch) | |
tree | 408cf8a78ddc39e83a2ff2cb7bcfcf718d281ef2 | |
parent | 6afccf95f0afe466e7070a2e0c6076a0abdf233f (diff) |
[wolfssl] Fix build (#7956)
* [wolfssl] Fix build
* [wolfssl] Fix build try 2
-rwxr-xr-x | projects/wolfssl/build.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/projects/wolfssl/build.sh b/projects/wolfssl/build.sh index ae340bda..b515ed3a 100755 --- a/projects/wolfssl/build.sh +++ b/projects/wolfssl/build.sh @@ -192,9 +192,7 @@ then autoreconf -ivf # -DHAVE_ECC_BRAINPOOL and -DHAVE_ECC_KOBLITZ are lacking from the CFLAGS; these are not supported by SP math CFLAGS="$CFLAGS -DHAVE_AES_ECB -DWOLFSSL_DES_ECB -DHAVE_ECC_SECPR2 -DHAVE_ECC_SECPR3 -DWOLFSSL_ECDSA_SET_K -DWOLFSSL_ECDSA_SET_K_ONE_LOOP -DWOLFSSL_PUBLIC_ECC_ADD_DBL" - # SP math does not support custom curves, so remove that flag - export WOLFCRYPT_CONFIGURE_PARAMS_SP_MATH=${WOLFCRYPT_CONFIGURE_PARAMS//"--enable-ecccustcurves"/} - ./configure $WOLFCRYPT_CONFIGURE_PARAMS_SP_MATH --enable-sp --enable-sp-math + ./configure $WOLFCRYPT_CONFIGURE_PARAMS --enable-sp --enable-sp-math make -j$(nproc) export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT -DCRYPTOFUZZ_BOTAN" export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-sp-math/src/.libs/libwolfssl.a" |