提交 d8954e93 编辑于 作者: 王怀伯's avatar 王怀伯
浏览文件

add fwknopd for aarch64

上级 dec43885
无相关合并请求
显示 10 个添加0 个删除
+10 -0
build.sh 100644 → 100755
......@@ -10,14 +10,24 @@ CROSS_COMPILE=aarch64-linux-gnu-
HOST=aarch64-linux-gnu
CC=${CROSS_COMPILE}gcc
LDFLAGS="${LDFLAGS} -Wl,-rpath,/home/ossec/bin,-rpath,/lib"
autoreconf -f -i
./configure CC=${CC} CFLAGS="-fPIC ${CFLAGS} -O3" CPPFLAGS="-fPIC ${CFLAGS} -Drpl_realloc=realloc " LDFLAGS="${LDFLAGS}" --host=${HOST} --build=x86_64-linux-gnu --with-gpg=/tmp --without-gpgme --without-ipfw --without-pf --without-ipf --without-firewalld --prefix=${TOP_DIR}/install/aarch64 --disable-server --enable-client --disable-shared --enable-static=yes
make clean
make -j8 install
LDFLAGS=""
autoreconf -f -i
./configure CC=${CC} CFLAGS="-fPIC ${CFLAGS} -O3" CPPFLAGS="-fPIC ${CFLAGS} -Drpl_realloc=realloc " LDFLAGS="${LDFLAGS}" --host=${HOST} --build=x86_64-linux-gnu --with-iptables --with-gpg=/tmp --without-gpgme --without-ipfw --without-pf --without-ipf --without-firewalld --prefix=${TOP_DIR}/install/aarch64 --enable-server --disable-client --disable-shared --enable-static=yes --enable-udp-server
make clean
make -j8 install
#cd client
#${CC} -static -O3 -Wall -Wformat -Wformat-security -fstack-protector-all -fstack-protector -fPIE -fPIC -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wformat-security -fstack-protector-all -fstack-protector -fPIE -fPIC -pie -fPIC -D_FORTIFY_SOURCE=2 -o fwknop fwknop-fwknop.o fwknop-config_init.o fwknop-spa_comm.o fwknop-utils.o fwknop-http_resolve_host.o fwknop-getpasswd.o fwknop-log_msg.o ../common/libfko_util.a ../lib/.libs/libfko.a -lc
#cd ..
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册