Lines Matching +full:aarch64 +full:- +full:unknown +full:- +full:linux +full:- +full:musl
2 import("//third_party/musl/musl_config.gni")
4 musl_base_dir = "third_party/musl/"
5 test_dir = "${musl_base_dir}/libc-test"
6 out_test_dir = "${root_out_dir}/obj/${musl_base_dir}/libc-test"
11 musl_arch = "aarch64"
17 "${root_out_dir}/obj/${musl_base_dir}/usr/include/${musl_arch}-linux-ohos"
19 "${root_out_dir}/obj/${musl_base_dir}/usr/lib/${musl_arch}-linux-ohos"
21 test_lib_dir = "musl/libc-test-lib"
35 subsystem_name = "musl"
36 part_name = "libc-test"
54 "-pipe",
55 "-std=c99",
56 "-D_POSIX_C_SOURCE=200809L",
57 "-Wall",
58 "-Wno-unused",
59 "-Wno-unused-function",
60 "-Wno-missing-braces",
61 "-Wno-overflow",
62 "-Wno-unknown-pragmas",
63 "-Wno-unsupported-floating-point-opt",
64 "-Wno-ignored-pragmas",
65 "-fno-builtin",
66 "-frounding-math",
67 "-Werror=implicit-function-declaration",
68 "-Werror=implicit-int",
69 "-Werror=pointer-sign",
70 "-Werror=pointer-arith",
71 "-g",
72 "-D_FILE_OFFSET_BITS=64",
73 "-c",
74 "-o",
78 cflags += [ "-DFEATURE_PTHREAD_CANCEL" ]
81 ldflags = [ "-nostdlib" ]
98 # math/dremf.c:1:9: error: '_GNU_SOURCE' macro redefined [-Werror,-Wmacro-redefined]
100 # -Wno-error无法屏蔽错误,改为屏蔽警告
101 "-Wno-macro-redefined",
107 …# include/${musl_arch}-linux-ohos/endian.h:26:25: error: '&' within '|' [-Werror,-Wbitwise-op-pare…
108 "-Wno-error=bitwise-op-parentheses",
110 …rror: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623…
111 "-Wno-error=literal-range",
115 … # functional/strptime.c:3:9: error: '_GNU_SOURCE' macro redefined [-Werror,-Wmacro-redefined]
116 "-Wno-macro-redefined",
120 ldflags += [ "-rdynamic" ]
125 ldflags += [ "-rdynamic" ]
130 ldflags += [ "-rdynamic" ]
135 ldflags += [ "-Wl,-rpath=./" ]
140 ldflags += [ "-Wl,-rpath=./" ]
144 if (target_name == "test-malloc-info") {
158 ldflags += [ "-Wl,--export-dynamic,-rpath=./" ]
162 ldflags += [ "-Wl,-rpath=./" ]
169 ldflags += [ "-Wl,-rpath=./" ]
181 if (target_dir == "musl") {
182 cflags_c += [ "-w" ]
198 …# regression/daemon-failure.c:56:24: error: adding 'int' to a string does not append to the string…
199 "-Wno-string-plus-int",
200 "-Wno-error=string-plus-int",
204 …# regression/syscall-sign-extend.c:3:9: error: '_GNU_SOURCE' macro redefined [-Werror,-Wmacro-rede…
205 "-Wno-macro-redefined",
208 if (target_name == "tls_get_new-dtv") {
209 ldflags += [ "-Wl,-rpath=./" ]
211 [ "//${root_out_dir}/${test_lib_dir}/libtls_get_new-dtv_dso.so" ]
219 ldflags += [ "-Wl,-rpath=./" ]
227 if (musl_target_os == "linux" && product_path != "" &&
263 "-pipe",
264 "-std=c99",
265 "-D_POSIX_C_SOURCE=200809L",
266 "-Wall",
267 "-Wno-unused",
268 "-Wno-unused-function",
269 "-Wno-missing-braces",
270 "-Wno-overflow",
271 "-Wno-unknown-pragmas",
272 "-Wno-unsupported-floating-point-opt",
273 "-fno-builtin",
274 "-frounding-math",
275 "-Werror=implicit-function-declaration",
276 "-Werror=implicit-int",
277 "-Werror=pointer-sign",
278 "-Werror=pointer-arith",
279 "-g",
280 "-D_FILE_OFFSET_BITS=64",
281 "-fPIC",
282 "-DSHARED",
283 "-c",
284 "-o",
288 "-shared",
289 "-nostdlib",
294 ldflags += [ "-Wl,--version-script=${_version_script}" ]
307 subsystem_name = "musl"
308 part_name = "libc-test-lib"