Use -static-libgcc for Windows
am: abf1b31a20
Change-Id: Id8eea1c93a97061fa6e50df7c9ba06a9ec62d306
This commit is contained in:
commit
9af0f2d42a
|
@ -79,6 +79,7 @@ var (
|
|||
"-m32",
|
||||
"-Wl,--large-address-aware",
|
||||
"-L${WindowsGccRoot}/${WindowsGccTriple}/lib32",
|
||||
"-static-libgcc",
|
||||
}
|
||||
windowsX86ClangLdflags = append(ClangFilterUnknownCflags(windowsX86Ldflags), []string{
|
||||
"-B${WindowsGccRoot}/lib/gcc/${WindowsGccTriple}/4.8.3/32",
|
||||
|
@ -90,6 +91,7 @@ var (
|
|||
windowsX8664Ldflags = []string{
|
||||
"-m64",
|
||||
"-L${WindowsGccRoot}/${WindowsGccTriple}/lib64",
|
||||
"-static-libgcc",
|
||||
}
|
||||
windowsX8664ClangLdflags = append(ClangFilterUnknownCflags(windowsX8664Ldflags), []string{
|
||||
"-B${WindowsGccRoot}/lib/gcc/${WindowsGccTriple}/4.8.3",
|
||||
|
|
Loading…
Reference in New Issue