2018-08-08 06:12:38 -05:00
|
|
|
#!/bin/sh
|
2018-10-07 12:41:58 -05:00
|
|
|
set -e
|
2018-11-17 12:12:05 -06:00
|
|
|
|
|
|
|
RELARGS="-O3 -DNDEBUG"
|
|
|
|
DBGARGS="-g -D_DEBUG"
|
|
|
|
CURARGS="$RELARGS"
|
|
|
|
|
2022-12-20 18:14:33 -06:00
|
|
|
clang++-15.0 -c -march=skylake-avx512 crypto/poly1305/poly1305-x64-linux.s crypto/chacha20/chacha20-x64-linux.s
|
|
|
|
clang++-15.0 -I . $CURARGS -DWITH_NETWORK_BSD=1 -mssse3 -pthread -lrt -o tunsafe \
|
2018-10-07 12:41:58 -05:00
|
|
|
tunsafe_amalgam.cpp \
|
|
|
|
crypto/aesgcm/aesni_gcm-x64-linux.s \
|
|
|
|
crypto/aesgcm/aesni-x64-linux.s \
|
|
|
|
crypto/aesgcm/ghash-x64-linux.s \
|
|
|
|
chacha20-x64-linux.o \
|
|
|
|
poly1305-x64-linux.o \
|