diff options
author | srinivas%netscape.com <devnull@localhost> | 1999-10-22 21:06:08 +0000 |
---|---|---|
committer | srinivas%netscape.com <devnull@localhost> | 1999-10-22 21:06:08 +0000 |
commit | 86916b9e07ee099f0a37a81c69aa521f88551e0d (patch) | |
tree | 16140d9a5918a5e4c1499afc45412c91b69aa957 | |
parent | 9c12f9ec3c8a840ec434b5e3d6510b783717281f (diff) | |
download | nspr-hg-86916b9e07ee099f0a37a81c69aa521f88551e0d.tar.gz |
OpenVMS updates by colin@theblakes.com
-rw-r--r-- | config/OpenVMS.mk | 13 | ||||
-rw-r--r-- | pr/include/md/_openvms.h | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/config/OpenVMS.mk b/config/OpenVMS.mk index 2e5c6d55..0a7a51d6 100644 --- a/config/OpenVMS.mk +++ b/config/OpenVMS.mk @@ -34,7 +34,18 @@ RANLIB = /bin/true CPU_ARCH_TAG = _$(CPU_ARCH) -OS_CFLAGS = -DVMS -DGENERIC_PTHREAD_REDEFINES +OS_CFLAGS = -DVMS -DVMS_AS_IS -Wc,names=\(short,as\) \ + -DGENERIC_PTHREAD_REDEFINES +OS_CXXFLAGS = -DVMS -DVMS_AS_IS -Wc,names=\(short,as\) \ + -DGENERIC_PTHREAD_REDEFINES + +# +# XCFLAGS are the only CFLAGS that are used during a link operation. Defining +# OPTIMIZER in XCFLAGS means that each compilation line gets OPTIMIZER +# included twice, but at least we get OPTIMIZER included in the link +# operations; and OpenVMS needs it! +# +XCFLAGS += $(OPTIMIZER) # The command to build a shared library in POSIX on OpenVMS. MKSHLIB = vmsld $(OPTIMIZER) diff --git a/pr/include/md/_openvms.h b/pr/include/md/_openvms.h index a7959521..7a0b3749 100644 --- a/pr/include/md/_openvms.h +++ b/pr/include/md/_openvms.h @@ -35,7 +35,7 @@ #else #define _PR_SI_ARCHITECTURE "vax" #endif -#define PR_DLL_SUFFIX ".exe" +#define PR_DLL_SUFFIX ".so" #define _PR_VMBASE 0x30000000 #define _PR_STACK_VMBASE 0x50000000 |