Use -std=gnu17 to compile wolfssl and use all cores to compile
This commit is contained in:
@@ -64,7 +64,7 @@ endef
|
||||
#endef
|
||||
|
||||
define $(package)_build_cmds
|
||||
$(MAKE) CPPFLAGS='-fPIC' -j1 src/libwolfssl.la
|
||||
$(MAKE) CPPFLAGS='-fPIC -std=gnu17' -j$(nproc) src/libwolfssl.la
|
||||
endef
|
||||
|
||||
define $(package)_stage_cmds
|
||||
|
||||
@@ -301,7 +301,7 @@ WOLFSSL_CTX* TLSManager::initCtx(TLSContextType ctxType)
|
||||
bool bInitialized = false;
|
||||
WOLFSSL_CTX* tlsCtx = NULL;
|
||||
|
||||
byte *pem;
|
||||
unsigned char *pem;
|
||||
int plen = 0;
|
||||
|
||||
if ((tlsCtx = wolfSSL_CTX_new(ctxType == SERVER_CONTEXT ? wolfTLSv1_3_server_method() : wolfTLSv1_3_client_method()))) {
|
||||
|
||||
Reference in New Issue
Block a user