Created
October 20, 2018 12:59
-
-
Save phoenixxie0/c2cfb8cc51a5aee928d115c8a7362145 to your computer and use it in GitHub Desktop.
build-mbedtls.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
make lib CFLAG='-g -O3 -pipe -march=native -msse4.2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' | |
mkdir -p /usr/local/include/mbedtls | |
cp -r include/mbedtls /usr/local/include | |
mkdir -p /usr/local/lib | |
cp -RP library/libmbedtls.* /usr/local/lib | |
cp -RP library/libmbedx509.* /usr/local/lib | |
cp -RP library/libmbedcrypto.* /usr/local/lib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment