Do not set entry-point for Windows
am: 204165320e
Change-Id: I7db0a7134cc7a6ae85b624d58e72794e0dd53bca
This commit is contained in:
committed by
android-build-merger
commit
e4f89be932
@@ -216,9 +216,6 @@ func (binary *binaryDecorator) linkerFlags(ctx ModuleContext, flags Flags) Flags
|
||||
if ctx.Host() && !binary.static() {
|
||||
if !ctx.Config().IsEnvTrue("DISABLE_HOST_PIE") {
|
||||
flags.LdFlags = append(flags.LdFlags, "-pie")
|
||||
if ctx.Windows() {
|
||||
flags.LdFlags = append(flags.LdFlags, "-Wl,-e_mainCRTStartup")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user