Merge "Do not set entry-point for Windows" am: 645b8db09a am: 783c0bd833
am: 8ffb008e88
Change-Id: I2c407e1fad8978baa4c117cbb7c0a4314d85d793
diff --git a/core/definitions.mk b/core/definitions.mk
index a664756..b5b0193 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1986,10 +1986,6 @@
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)