openssl和libffi最高优化编译参数 - kernel panic

openssl和libffi最高优化编译参数

https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz
CFLAGS="-Ofast -march=native" CXXFLAGS="-Ofast -march=native" LDFLAGS="-Ofast -march=native" ./configure -prefix=/usr/local/python3 -with-openssl=/usr/local/openssl --with-system-ffi --with-lto
export LD_LIBRARY_PATH=/usr/local/libffi:$LD_LIBRARY_PATH
echo "/usr/local/libffi/lib" >> /etc/ld.so.conf

export LIBFFI_CFLAGS=-I$HOME/menglingjun/software/libffi/lib/libffi-3.2.1/include
export LIBFFI_LIBS=$HOME/menglingjun/software/libffi/lib/libffi.la
export C_INCLUDE_PATH=$HOME/menglingjun/software/libffi/lib/libffi-3.2.1/include/
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/menglingjun/software/libffi/lib/pkgconfig

export PKG_CONFIG_PATH="/usr/local/libffi/lib/pkgconfig"
export LDFLAGS="-L/usr/local/libffi/lib"

添加新评论

电子邮件地址不会被公开,评论内容可能需要管理员审核后显示。