move to new build system
This commit is contained in:
13
support/3rd_party/libsodium_configure.sh
vendored
Executable file
13
support/3rd_party/libsodium_configure.sh
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$1" == "mingw64" ]; then
|
||||
HOST_CFG=--host=x86_64-w64-mingw32
|
||||
fi
|
||||
|
||||
CFLAGS="-O3 -fomit-frame-pointer -march=$2 -mtune=generic" ./configure \
|
||||
--disable-asm \
|
||||
--disable-ssp \
|
||||
--enable-shared=$4 \
|
||||
--enable-static=yes \
|
||||
--prefix="$3" \
|
||||
${HOST_CFG}
|
Reference in New Issue
Block a user