aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2005-10-05 19:32:03 +0000
committergoodale <goodale@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2005-10-05 19:32:03 +0000
commit0f98d97de862fbba627b89cc91ebd3bb842794af (patch)
tree8cdb94ee902005c118546e656458ec431677c593
parent8bcbcdf8830366b8f789d4e5c3a4dd8514aead14 (diff)
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
-rw-r--r--src/make.code.defn5
1 files changed, 2 insertions, 3 deletions
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