1 Star 0 Fork 73

openharmony-sync/third_party_popt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 681 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
import("//build/lite/config/component/lite_component.gni")
config("popt_config") {
include_dirs = [ "//third_party/popt" ]
}
popt_sources = [
"popt.c",
"popthelp.c",
"poptint.c",
"poptparse.c",
]
static_library("popt_static") {
sources = popt_sources
output_name = "popt"
public_configs = [ ":popt_config" ]
defines = [
"HAVE_CONFIG_H",
"_GNU_SOURCE",
"_REENTRANT",
]
cflags_c = [
"-Wall",
"-Os",
"-g",
"-W",
"-ffunction-sections",
"-fdata-sections",
"-Wno-unused-const-variable",
]
ldflags = [
"-Wl",
"--gc-sections",
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony-sync/third_party_popt.git
git@gitee.com:openharmony-sync/third_party_popt.git
openharmony-sync
third_party_popt
third_party_popt
master

搜索帮助