Add support building deps with clang/libc++

Signed-off-by: Arne Schwabe <arne@openvpn.net>
This commit is contained in:
Arne Schwabe
2020-04-28 14:01:53 +02:00
parent 492661fd02
commit e6d544b8a5
7 changed files with 23 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ if [ -z "$O3" ]; then
echo O3 var must point to ovpn3 tree ; exit 1
fi
export DEP_DIR=${DEP_DIR:-$HOME/linux}
export TARGET=${TARGET:-linux}
cd $DEP_DIR
rm -rf asio* boost* lz4* lzo* minicrypto openssl* polarssl* snappy*
echo "******* ASIO"

View File

@@ -10,5 +10,5 @@ fi
cd $DEP_DIR
rm -rf cityhash
mkdir cityhash
TARGET=linux $O3/core/deps/cityhash/build-cityhash
TARGET=${TARGET:-linux} $O3/core/deps/cityhash/build-cityhash
exit 0

View File

@@ -10,5 +10,5 @@ fi
cd $DEP_DIR
rm -rf lz4
mkdir lz4
TARGET=linux $O3/core/deps/lz4/build-lz4
TARGET=${TARGET:-linux} $O3/core/deps/lz4/build-lz4
exit 0

View File

@@ -15,5 +15,5 @@ if [ "$LINK_MODE" = "shared" ]; then
else
SHARED=0
fi
VERBOSE=1 TARGET=linux ENABLE_SERVER=1 SHARED=$SHARED $O3/core/deps/mbedtls/build-mbedtls
VERBOSE=1 TARGET=${TARGET:-linux} ENABLE_SERVER=1 SHARED=$SHARED $O3/core/deps/mbedtls/build-mbedtls
exit 0