repertory/support/3rd_party/sqlite_configure.sh

14 lines
262 B
Bash
Executable File

#!/bin/bash
if [ "$1" == "mingw64" ]; then
HOST_CFG=--host=x86_64-w64-mingw32
fi
CFLAGS="-O3 -march=$2 -mtune=generic" ./configure \
--disable-amalgamation \
--disable-tcl \
--enable-shared=yes \
--enable-static=yes \
--prefix="$3" \
${HOST_CFG}