...
|
...
|
@@ -25,9 +25,9 @@ lib/lib/libwolfssl.a:
|
25
|
25
|
./autogen.sh; \
|
26
|
26
|
fi; \
|
27
|
27
|
if [ ! -f "Makefile" ]; then \
|
28
|
|
- env -u DEFS -u CFLAGS -u LDFLAGS -u LIBS EXTRA_CFLAGS="-g -fPIC" ./configure \
|
|
28
|
+ env -u DEFS -u CFLAGS -u LDFLAGS -u LIBS EXTRA_CFLAGS="-g -fPIC -Wno-error=array-bounds -Wno-error=stringop-overflow" ./configure \
|
29
|
29
|
--enable-all --enable-pkcs11 --enable-static --enable-aligndata=no \
|
30
|
|
- --disable-shared --disable-silent-rules --disable-examples \
|
|
30
|
+ --disable-shared --disable-examples \
|
31
|
31
|
--prefix=$(MOD_DIR)/lib \
|
32
|
32
|
--exec-prefix=$(MOD_DIR)/lib; \
|
33
|
33
|
sed -i s/-Werror// Makefile; \
|
...
|
...
|
@@ -44,5 +44,5 @@ clean-module:
|
44
|
44
|
@rm -f *.o *.so
|
45
|
45
|
|
46
|
46
|
clean-all: clean-wolfssl clean-module
|
47
|
|
-
|
|
47
|
+
|
48
|
48
|
.PHONY: clean-wolfssl clean-module clean-all
|