diff options
-rw-r--r-- | Makefile.linux | 5 | ||||
-rw-r--r-- | ext/bin/libcrypto/linux-armv4/libcrypto.a | bin | 0 -> 2608484 bytes | |||
l--------- | ext/bin/libcrypto/linux-armv6l | 1 | ||||
-rw-r--r-- | ext/bin/libcrypto/openssl-config-linux-armv4.sh | 4 |
4 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.linux b/Makefile.linux index 77327282..dd570911 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -2,15 +2,16 @@ CC=gcc CXX=g++ INCLUDES=-Iext/bin/libcrypto/include -Iext/jsoncpp/include +LDFLAGS=-ldl ARCH=$(shell uname -m) DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE # Uncomment for a release optimized build -CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS) +CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) $(LDFLAGS) -DNDEBUG $(DEFS) STRIP=strip --strip-all # Uncomment for a debug build -#CFLAGS=-Wall -g -pthread $(INCLUDES) -DZT_TRACE -DZT_LOG_STDOUT $(DEFS) +#CFLAGS=-Wall -g -pthread $(INCLUDES) $(LDFLAGS) -DZT_TRACE -DZT_LOG_STDOUT $(DEFS) #STRIP=echo CXXFLAGS=$(CFLAGS) -fno-rtti diff --git a/ext/bin/libcrypto/linux-armv4/libcrypto.a b/ext/bin/libcrypto/linux-armv4/libcrypto.a Binary files differnew file mode 100644 index 00000000..7dd87bbb --- /dev/null +++ b/ext/bin/libcrypto/linux-armv4/libcrypto.a diff --git a/ext/bin/libcrypto/linux-armv6l b/ext/bin/libcrypto/linux-armv6l new file mode 120000 index 00000000..23a34df6 --- /dev/null +++ b/ext/bin/libcrypto/linux-armv6l @@ -0,0 +1 @@ +linux-armv4/
\ No newline at end of file diff --git a/ext/bin/libcrypto/openssl-config-linux-armv4.sh b/ext/bin/libcrypto/openssl-config-linux-armv4.sh new file mode 100644 index 00000000..c7687fe8 --- /dev/null +++ b/ext/bin/libcrypto/openssl-config-linux-armv4.sh @@ -0,0 +1,4 @@ +make clean +./Configure no-sock no-ssl2 no-ssl3 no-err no-krb5 no-engine no-hw no-tlsext no-jpake no-capieng no-idea no-camellia no-seed no-bf no-cast no-des no-rc2 no-rc4 no-rc5 no-md2 no-md4 no-ripemd no-mdc2 no-rsa no-dsa no-dh no-shared no-zlib no-dso no-cms no-ocsp no-txt_db no-pem no-mdc2 no-ui no-ts linux-armv4 +make depend +make build_crypto |