From 0a2faaa427747c6346f83cf5a5ac23d9d3826f8c Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 31 Oct 2015 16:53:52 -0400 Subject: build system: direct linker invocation: fix subsystem support. --- project/overrides.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project/overrides.mk b/project/overrides.mk index 2641556..2a67ff9 100644 --- a/project/overrides.mk +++ b/project/overrides.mk @@ -1,2 +1,6 @@ # direct linker invocation LDFLAGS_SYSROOT = $(CFLAGS_SYSROOT) + +ifneq ($(PE_SUBSYSTEM)x,x) + LDFLAGS_COMMON += --subsystem=$(PE_SUBSYSTEM) +endif -- cgit v1.2.3