Author: nhosoi
Update of /cvs/dirsec/adminutil
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17001
Modified Files:
nscore.mk
Log Message:
[Bug 172166] Admin Util build (IPF)
set an appropriate macro CPU_ia64 to reflect the cpu type
Index: nscore.mk
===================================================================
RCS file: /cvs/dirsec/adminutil/nscore.mk,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- nscore.mk 20 Jul 2005 22:51:31 -0000 1.1.1.1
+++ nscore.mk 1 Feb 2006 22:47:51 -0000 1.2
@@ -51,7 +51,12 @@
endif
# HP-UX
ifeq ($(ARCH), HPUX)
- CFLAGS += -DCPU_hppa -DOS_hpux
+ HPUX_ARCH := $(shell uname -m)
+ ifeq ($(HPUX_ARCH), ia64)
+ CFLAGS += -DCPU_ia64 -DOS_hpux
+ else
+ CFLAGS += -DCPU_hppa -DOS_hpux
+ endif
CFLAGS += -D_NO_THREADS_
endif
# AIX