From 79e98b6ff6e1ea4d137385df9eb604a9ea5e7aad Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 31 Oct 2015 17:56:16 -0400 Subject: build system: direct linker invocation: fix subsystem support. --- project/overrides.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'project') 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