From 0f98d97de862fbba627b89cc91ebd3bb842794af Mon Sep 17 00:00:00 2001 From: goodale Date: Wed, 5 Oct 2005 19:32:03 +0000 Subject: Updates to give sensible results when crosscompiling for the SX-? machines. Should do this for all architectures. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@339 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- src/make.code.defn | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/make.code.defn b/src/make.code.defn index d08f8eb..9a34198 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -7,10 +7,9 @@ SRCS = Startup.c Output2D.c Write2D.c Output.c Write.c DumpVar.c DumpGH.c \ # This avoids warnings when including the FlexIO headers CFLAGS += -DANSI -UNAME := $(shell uname) - -ifeq ($(UNAME), SUPER-UX) +ifeq ($(OS), superux) CFLAGS += -DSX5 +CPPFLAGS += -DSX5 endif -- cgit v1.2.3