Skip to content
GitLab
探索
项目
群组
代码片段
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录
切换导航
菜单
打开侧边栏
wazuh
Fwknop
提交
d8954e93
提交
d8954e93
编辑于
2年前
作者:
王怀伯
浏览文件
操作
下载
电子邮件补丁
差异文件
add fwknopd for aarch64
上级
dec43885
CSGSYY
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
build.sh
+10
-0
build.sh
有
10 个添加
和
0 个删除
+10
-0
build.sh
100644 → 100755
+
10
-
0
浏览文件 @
d8954e93
...
...
@@ -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 ..
This diff is collapsed.
Click to expand it.
编辑
预览
支持
Markdown
0%
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
菜单
探索
项目
群组
代码片段