summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-31 11:48:07 -0500
committermidipix <writeonce@midipix.org>2018-12-31 11:48:07 -0500
commit627c7f72f17f06a3b49b876136c24b6c01eae622 (patch)
tree72c7af631393d45f8d7b0a3e67bc7fa4c8a78d78 /project
parent4943b48b4b1ed51ff265856e445e83fef0d798cd (diff)
downloadntapi-627c7f72f17f06a3b49b876136c24b6c01eae622.tar.bz2
ntapi-627c7f72f17f06a3b49b876136c24b6c01eae622.tar.xz
project: set ARCH (nt32/nt64) based on CC_BITS.
Diffstat (limited to 'project')
-rw-r--r--project/arch.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/project/arch.mk b/project/arch.mk
index 7040e88..aa84a15 100644
--- a/project/arch.mk
+++ b/project/arch.mk
@@ -1,9 +1,5 @@
-# mingw
-ifeq ($(ARCH),w32)
- ARCH = nt32
-else ifeq ($(ARCH),w64)
- ARCH = nt64
-endif
+# nt32/nt64
+ARCH = nt$(CC_BITS)
# process
src/process/%.lo: $(SOURCE_DIR)/src/process/$(ARCH)/%.s $(ALL_HEADERS) host.tag tree.tag