Sha256: d7a6fd380fa3f9f9b94e1a5daec3fda4877f95f70dcf824db628bf37b174bd68

Contents?: true

Size: 881 Bytes

Versions: 7

Compression:

Stored size: 881 Bytes

Contents

#! /bin/sh

export NACL_SDK_ROOT=${NACL_SDK_ROOT-"/opt/nacl_sdk/pepper_49"}
export NACL_TOOLCHAIN=${NACL_TOOLCHAIN-"${NACL_SDK_ROOT}/toolchain/mac_pnacl"}
export NACL_BIN=${NACL_BIN-"${NACL_TOOLCHAIN}/bin"}
export PREFIX="$(pwd)/libsodium-nativeclient"
export PATH="${NACL_BIN}:$PATH"
export AR=${AR-"pnacl-ar"}
export AS=${AS-"pnacl-as"}
export CC=${CC-"pnacl-clang"}
export LD=${LD-"pnacl-ld"}
export NM=${NM-"pnacl-nm"}
export RANLIB=${RANLIB-"pnacl-ranlib"}
export PNACL_FINALIZE=${PNACL_FINALIZE-"pnacl-finalize"}
export PNACL_TRANSLATE=${PNACL_TRANSLATE-"pnacl-translate"}
export CFLAGS="-O3 -fomit-frame-pointer -fforce-addr"

mkdir -p $PREFIX || exit 1

make distclean > /dev/null

./configure --enable-minimal \
            --host=nacl \
            --disable-ssp --without-pthreads \
            --prefix="$PREFIX" || exit 1

make -j3 check && make -j3 install || exit 1

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
laag-libsodium-1.0.16.2 vendor/github.com/jedisct1/libsodium/dist-build/nativeclient-pnacl.sh
laag-libsodium-1.0.16.0 vendor/github.com/jedisct1/libsodium/dist-build/nativeclient-pnacl.sh
rbnacl-libsodium-1.0.16 vendor/libsodium/dist-build/nativeclient-pnacl.sh
rbnacl-libsodium-1.0.15.1 vendor/libsodium/dist-build/nativeclient-pnacl.sh
rbnacl-libsodium-1.0.15 vendor/libsodium/dist-build/nativeclient-pnacl.sh
rbnacl-libsodium-1.0.13 vendor/libsodium/dist-build/nativeclient-pnacl.sh
rbnacl-libsodium-1.0.11 vendor/libsodium/dist-build/nativeclient-pnacl.sh