aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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