rvthtool/extlib/nettle.win32/lib.i386/build.sh
David Korth fcf321dea7 [nettle] Update the Win32 precompiled build of Nettle from 3.8.1 to 3.9.1.
Compiled using gcc-13.2.0 and MinGW-w64 11.0.0.

NOTE: The .debug files are no longer included because no one used them.
2023-11-25 12:05:48 -05:00

10 lines
401 B
Bash
Executable File
Vendored

#!/bin/bash
export CFLAGS="-O2 -march=i686 -pipe -static-libgcc -fstrict-aliasing -fcf-protection -ftree-vectorize -mstackrealign"
export LDFLAGS="-Wl,-O1 -static-libgcc -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,--subsystem,console:5.01"
../configure --host=i686-w64-mingw32 \
--enable-mini-gmp \
--enable-fat \
--enable-x86-aesni \
--enable-x86-sha-ni \
--enable-x86-pclmul