Merge "Do not set entry-point for Windows"

am: 645b8db09a

Change-Id: Ia4982902151b800b58a3cfa488ccfddecb6aa662
This commit is contained in:
Pirama Arumuga Nainar 2018-06-27 13:26:34 -07:00 committed by android-build-merger
commit 783c0bd833
1 changed files with 0 additions and 4 deletions

View File

@ -1986,10 +1986,6 @@ ifdef BUILD_HOST_static
HOST_FPIE_FLAGS :=
else
HOST_FPIE_FLAGS := -pie
# Force the correct entry point to workaround a bug in binutils that manifests with -pie
ifeq ($(HOST_CROSS_OS),windows)
HOST_CROSS_FPIE_FLAGS += -Wl,-e_mainCRTStartup
endif
endif
ifneq ($(HOST_CUSTOM_LD_COMMAND),true)