diff options
author | Bruce Momjian | 1997-07-14 16:52:13 +0000 |
---|---|---|
committer | Bruce Momjian | 1997-07-14 16:52:13 +0000 |
commit | 31fba1d97416814d2ab863a7964fa0eced44e391 (patch) | |
tree | ade66f3ff0f2460855ec0770d1fff8538d7700b0 | |
parent | 10da89c1fbb4bd6388a7254181803de7ba22958a (diff) |
Mips sysv4 support.
-rw-r--r-- | src/include/port/svr4.h | 6 | ||||
-rw-r--r-- | src/makefiles/Makefile.svr4 | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/include/port/svr4.h b/src/include/port/svr4.h index 0c9810a1cc2..0910fe2d298 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 9c9e5b3e5af..21e1d7207d7 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 $@ $< |