From: Paul E. McKenney Date: Sat, 13 Jun 2009 04:59:14 +0000 (-0400) Subject: Allow use on high-end Power systems. X-Git-Tag: v0.1~155 X-Git-Url: http://git.lttng.org/?p=urcu.git;a=commitdiff_plain;h=b89816ac7ea2c05447e881d9820c883e019c850b Allow use on high-end Power systems. Power systems self-identify as ppc64 rather than powerpc. Add the corresponding logic to the Makefile. Signed-off-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index a67e586..e03d509 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,9 @@ endif ifeq ("${HOSTTYPE}","powerpc") ARCHTYPE=ppc endif +ifeq ("${HOSTTYPE}","ppc64") +ARCHTYPE=ppc +endif #debug #CFLAGS=-Wall -g diff --git a/Makefile64 b/Makefile64 index ab583be..8d75cf3 100644 --- a/Makefile64 +++ b/Makefile64 @@ -11,6 +11,9 @@ endif ifeq ("${HOSTTYPE}","powerpc") ARCHTYPE=ppc endif +ifeq ("${HOSTTYPE}","ppc64") +ARCHTYPE=ppc +endif #debug #CFLAGS=-m64 -Wall -g