Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 645b8db0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Do not set entry-point for Windows"

parents 69af20f1 b448834e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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)