From: Bruce Momjian Date: Mon, 14 Jul 1997 16:52:13 +0000 (+0000) Subject: Mips sysv4 support. X-Git-Tag: REL6_1_1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31fba1d97416814d2ab863a7964fa0eced44e391;p=postgresql Mips sysv4 support. --- diff --git a/src/include/port/svr4.h b/src/include/port/svr4.h index 0c9810a1cc..0910fe2d29 100644 --- a/src/include/port/svr4.h +++ b/src/include/port/svr4.h @@ -2,3 +2,9 @@ # define USE_POSIX_SIGNALS # define NO_EMPTY_STMTS # define SYSV_DIRENT + +#ifndef BYTE_ORDER +#ifdef MIPSEB +#define BYTE_ORDER BIG_ENDIAN +#endif +#endif diff --git a/src/makefiles/Makefile.svr4 b/src/makefiles/Makefile.svr4 index 9c9e5b3e5a..21e1d7207d 100644 --- a/src/makefiles/Makefile.svr4 +++ b/src/makefiles/Makefile.svr4 @@ -1,8 +1,8 @@ # MAKE_EXPORTS is required for svr4 loaders that want a file of # symbol names to tell them what to export/import. -MAKE_EXPORTS= true +#MAKE_EXPORTS= true -LDFLAGS+= /usr/ucblib/libucb.a -LD-Blargedynsym +LDFLAGS+= -lc /usr/ucblib/libucb.a -LD-Blargedynsym %.so: %.o $(LD) -G -Bdynamic -o $@ $<