summaryrefslogtreecommitdiff
path: root/security/coreconf/WINNT5.1.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/coreconf/WINNT5.1.mk')
-rw-r--r--security/coreconf/WINNT5.1.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/security/coreconf/WINNT5.1.mk b/security/coreconf/WINNT5.1.mk
index 90b5a546a..f9c7ed1c8 100644
--- a/security/coreconf/WINNT5.1.mk
+++ b/security/coreconf/WINNT5.1.mk
@@ -35,29 +35,22 @@
# Config stuff for WINNT 5.1 (Windows XP)
#
# This makefile defines the following variables:
-# CPU_ARCH, OS_CFLAGS, and OS_DLLFLAGS.
-# PROCESSOR is an internal variable.
+# OS_CFLAGS and OS_DLLFLAGS.
include $(CORE_DEPTH)/coreconf/WIN32.mk
-PROCESSOR := $(shell uname -p)
-ifeq ($(PROCESSOR), I386)
- CPU_ARCH = x386
+ifeq ($(CPU_ARCH), x386)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_X86_
else
- ifeq ($(PROCESSOR), MIPS)
- CPU_ARCH = MIPS
+ ifeq ($(CPU_ARCH), MIPS)
#OS_CFLAGS += -W3 -nologo
#DEFINES += -D_MIPS_
OS_CFLAGS += -W3 -nologo
else
- ifeq ($(PROCESSOR), ALPHA)
- CPU_ARCH = ALPHA
+ ifeq ($(CPU_ARCH), ALPHA)
OS_CFLAGS += -W3 -nologo
DEFINES += -D_ALPHA_=1
- else
- CPU_ARCH = processor_is_undefined
endif
endif
endif