summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-12 17:23:02 -0500
committermidipix <writeonce@midipix.org>2016-12-12 17:23:02 -0500
commit336b918d99caa3b39c0b63f59fa3561315e3ef68 (patch)
treed04363a0c4d6330b957e11b54beb38831b27f5db
parentfbf30b2db121d584d99def56db7ba368a3ce7b9f (diff)
downloadptycon-336b918d99caa3b39c0b63f59fa3561315e3ef68.tar.bz2
ptycon-336b918d99caa3b39c0b63f59fa3561315e3ef68.tar.xz
project: properly set the free-standing build environment.
-rw-r--r--project/extras.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 25fc706..cddaa32 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -2,6 +2,11 @@ CFLAGS_SHARED_ATTR += -DPTYC_PRE_ALPHA -DPTYC_EXPORT
CFLAGS_STATIC_ATTR += -DPTYC_PRE_ALPHA -DPTYC_STATIC
CFLAGS_APP_ATTR += -DPTYC_APP
+CFLAGS_CONFIG += -ffreestanding
+CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
+CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
+CFLAGS_CONFIG += -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
+
src/driver/ptyc_driver_ctx.o: version.tag
src/driver/ptyc_driver_ctx.lo: version.tag