summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rw-r--r--project/overrides.mk4
1 files changed, 4 insertions, 0 deletions
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