summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-07-25 04:58:47 +0000
committerwtc%netscape.com <devnull@localhost>1998-07-25 04:58:47 +0000
commit4a964862b78d579e7868cc85e5e07e41ded9e026 (patch)
treec64ebd5b9088ff47aaae9127d2b445bf00d60856
parentc702e0251bed00264310e8b30da7ba868e539154 (diff)
downloadnspr-hg-4a964862b78d579e7868cc85e5e07e41ded9e026.tar.gz
Use -std1 (strict ANSI C) instead of -std (ANSI C but allows common
programming practices disallowed by the standard). Define OSF1V4 for all V4.x versions.
-rw-r--r--config/OSF1.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/OSF1.mk b/config/OSF1.mk
index 32cad055..a7bc04f2 100644
--- a/config/OSF1.mk
+++ b/config/OSF1.mk
@@ -60,7 +60,7 @@ ifdef MOZILLA_CLIENT
IMPL_STRATEGY =
endif
-CC = cc $(NON_LD_FLAGS) -std -readonly_strings
+CC = cc $(NON_LD_FLAGS) -std1 -readonly_strings
# The C++ compiler cxx has -readonly_strings on by default.
CCC = cxx
@@ -80,7 +80,7 @@ ifeq ($(OS_RELEASE),V3.2)
OS_CFLAGS += -DOSF1V3
endif
-ifeq ($(OS_RELEASE),V4.0)
+ifeq (V4,$(findstring V4,$(OS_RELEASE)))
OS_CFLAGS += -DOSF1V4
endif