Lines Matching +full:sub +full:- +full:function
3 from re import sub
7 # Check if CC has options, as is the case in yocto, where it uses CC="cc --sysroot..."
15 cc_is_clang = b"clang version" in Popen([cc, "-v"], stderr=PIPE).stderr.readline()
19 …cc_output = Popen([cc, cc_options + option, path.join(src_feature_tests, "test-hello.c") ], stderr…
26 vars[var] = sub("-specs=[^ ]+", "", vars[var])
27 if not clang_has_option("-mcet"):
28 vars[var] = sub("-mcet", "", vars[var])
29 if not clang_has_option("-fcf-protection"):
30 vars[var] = sub("-fcf-protection", "", vars[var])
31 if not clang_has_option("-fstack-clash-protection"):
32 vars[var] = sub("-fstack-clash-protection", "", vars[var])
33 if not clang_has_option("-fstack-protector-strong"):
34 vars[var] = sub("-fstack-protector-strong", "", vars[var])
35 if not clang_has_option("-fno-semantic-interposition"):
36 vars[var] = sub("-fno-semantic-interposition", "", vars[var])
37 if not clang_has_option("-ffat-lto-objects"):
38 vars[var] = sub("-ffat-lto-objects", "", vars[var])
39 if not clang_has_option("-ftree-loop-distribute-patterns"):
40 vars[var] = sub("-ftree-loop-distribute-patterns", "", vars[var])
41 if not clang_has_option("-gno-variable-location-views"):
42 vars[var] = sub("-gno-variable-location-views", "", vars[var])
63 cflags += ['-fno-strict-aliasing', '-Wno-write-strings', '-Wno-unused-parameter', '-Wno-redundant-d…
65 cflags += ["-Wno-unused-command-line-argument" ]
66 if clang_has_option("-Wno-cast-function-type-mismatch"):
67 cflags += ["-Wno-cast-function-type-mismatch" ]
69 cflags += ['-Wno-cast-function-type' ]
72 cflags += [ "-Wno-declaration-after-statement" ]