summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-10-31 16:53:52 -0400
committermidipix <writeonce@midipix.org>2015-10-31 16:53:52 -0400
commit0a2faaa427747c6346f83cf5a5ac23d9d3826f8c (patch)
tree09a6f60a02dc08ecc5208f0added33d4b9189955 /project
parent7c65b600d77699c6228fd7dd0436141e47aa670d (diff)
downloadpemagine-0a2faaa427747c6346f83cf5a5ac23d9d3826f8c.tar.bz2
pemagine-0a2faaa427747c6346f83cf5a5ac23d9d3826f8c.tar.xz
build system: direct linker invocation: fix subsystem support.
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