diff options
author | wtc%netscape.com <devnull@localhost> | 1998-07-25 04:58:47 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1998-07-25 04:58:47 +0000 |
commit | 4a964862b78d579e7868cc85e5e07e41ded9e026 (patch) | |
tree | c64ebd5b9088ff47aaae9127d2b445bf00d60856 | |
parent | c702e0251bed00264310e8b30da7ba868e539154 (diff) | |
download | nspr-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.mk | 4 |
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 |