From 336b918d99caa3b39c0b63f59fa3561315e3ef68 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 12 Dec 2016 17:23:02 -0500 Subject: project: properly set the free-standing build environment. --- project/extras.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'project') 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 -- cgit v1.2.3