Files
repertory/support/3rd_party/libsodium_configure.sh
Scott E. Graves fd1d32d314
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
Add macOS support #34
2025-08-02 10:22:54 -05:00

14 lines
281 B
Bash
Executable File

#!/usr/bin/env 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}