Home
last modified time | relevance | path

Searched refs:LdFlags (Results 1 – 13 of 13) sorted by relevance

/build/soong/cc/
Dstl.go136 flags.LdFlags = append(flags.LdFlags, "-nodefaultlibs")
137 flags.LdFlags = append(flags.LdFlags, "-lpthread", "-lm")
139 flags.LdFlags = append(flags.LdFlags, hostStaticGccLibs[ctx.Os()]...)
141 flags.LdFlags = append(flags.LdFlags, hostDynamicGccLibs[ctx.Os()]...)
145 flags.LdFlags = append(flags.LdFlags, "-Wl,--exclude-libs,libunwind_llvm.a")
162 flags.LdFlags = append(flags.LdFlags, "-nodefaultlibs")
164 flags.LdFlags = append(flags.LdFlags, hostStaticGccLibs[ctx.Os()]...)
166 flags.LdFlags = append(flags.LdFlags, hostDynamicGccLibs[ctx.Os()]...)
Dlinker.go200 flags.LdFlags = append(flags.LdFlags, "-Wl,-undefined,dynamic_lookup")
203 flags.LdFlags = append(flags.LdFlags, "-Wl,--no-undefined")
207 flags.LdFlags = append(flags.LdFlags, toolchain.ClangLdflags())
209 flags.LdFlags = append(flags.LdFlags, toolchain.Ldflags())
215 flags.LdFlags = append(flags.LdFlags, linker.Properties.Host_ldlibs...)
221 flags.LdFlags = append(flags.LdFlags, proptools.NinjaAndShellEscape(linker.Properties.Ldflags)...)
230 flags.LdFlags = append(flags.LdFlags, "-Wl,-rpath,"+rpath_prefix+rpath)
235 flags.LdFlags = append(flags.LdFlags, toolchain.ToolchainClangLdflags())
237 flags.LdFlags = append(flags.LdFlags, toolchain.ToolchainLdflags())
Dbinary.go205 flags.LdFlags = append(flags.LdFlags, "-pie")
207 flags.LdFlags = append(flags.LdFlags, "-Wl,-e_mainCRTStartup")
225 if !inList("-shared", flags.LdFlags) {
226 flags.LdFlags = append(flags.LdFlags, "-static")
229 flags.LdFlags = append(flags.LdFlags,
262 flags.LdFlags = append(flags.LdFlags,
272 flags.LdFlags = append(flags.LdFlags, "-static")
275 flags.LdFlags = append(flags.LdFlags, "-Wl,-headerpad_max_install_names")
295 flags.LdFlags = append(flags.LdFlags, " -Wl,-dynamic-linker,"+flags.DynamicLinker)
Dsanitize.go331 flags.LdFlags = append(flags.LdFlags, asanLdflags...)
336 flags.LdFlags = append(flags.LdFlags, "-lm", "-lpthread")
337 flags.LdFlags = append(flags.LdFlags, "-Wl,--no-as-needed")
364 flags.LdFlags = append(flags.LdFlags, "-march=armv7-a")
368 flags.LdFlags = append(flags.LdFlags, cfiLdflags...)
392 flags.LdFlags = append(flags.LdFlags, sanitizeArg)
394 flags.LdFlags = append(flags.LdFlags, "-lrt")
396 flags.LdFlags = append(flags.LdFlags, "-ldl")
399 _, flags.LdFlags = removeFromList("-Wl,--no-undefined", flags.LdFlags)
Dobject.go62 flags.LdFlags = append(flags.LdFlags, ctx.toolchain().ToolchainClangLdflags())
64 flags.LdFlags = append(flags.LdFlags, ctx.toolchain().ToolchainLdflags())
Dcoverage.go96 flags.LdFlags = append(flags.LdFlags, "--coverage")
Dlibrary.go302 flags.LdFlags = append(f, flags.LdFlags...)
496 flags.LdFlags = append(flags.LdFlags, "-Wl,--version-script,"+versionScript.String())
513 flags.LdFlags = append(flags.LdFlags, "-Wl,-unexported_symbols_list,"+unexportedSymbols.String())
517 …flags.LdFlags = append(flags.LdFlags, "-Wl,-force_symbols_not_weak_list,"+forceNotWeakSymbols.Stri…
521 flags.LdFlags = append(flags.LdFlags, "-Wl,-force_symbols_weak_list,"+forceWeakSymbols.String())
Dtest.go148 flags.LdFlags = append(flags.LdFlags, "-lpthread")
151 flags.LdFlags = append(flags.LdFlags, "-lpthread")
Dllndk_library.go114 flags.LdFlags = append(flags.LdFlags, linkerScriptFlag)
Dcompiler.go301 flags.LdFlags = config.ClangFilterUnknownCflags(flags.LdFlags)
308 flags.LdFlags = append(flags.LdFlags, target, gccPrefix)
Dndk_library.go323 flags.LdFlags = append(flags.LdFlags, linkerScriptFlag)
Dutil.go111 ldFlags: strings.Join(in.LdFlags, " "),
Dcc.go113 LdFlags []string // Flags that apply to linker command lines member