AIX patch from Darren King.

This commit is contained in:
Bruce Momjian 1997-10-30 03:37:28 +00:00
parent 9939e55513
commit 868859b7e3
5 changed files with 17 additions and 22 deletions

View File

@ -70,23 +70,6 @@ getrusage(int who, struct rusage * rusage)
return (0);
}
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific written prior permission. This software
* is provided ``as is'' without express or implied warranty.
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)strcasecmp.c 5.5 (Berkeley) 11/24/87";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <string.h>

View File

@ -17,8 +17,6 @@ $(POSTGRES_IMP):
%$(EXPSUFF):
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
%.so: %.o %$(EXPSUFF)
%$(DLSUFFIX): %.o %$(EXPSUFF)
@echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
$(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
#41+ $(LD) -H512 -bnoentry -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
#325 $(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
$(LD) -H512 -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) $(CFLAGS_SL)

View File

@ -13,3 +13,6 @@ i586-pc-linux-gnu=linux-elf
i686-pc-linux-gnu=linux-elf
sparc-unknown-linux-gnu=linux-elf
alpha-unknown-linux-gnu=linuxalpha
powerpc-ibm-aix3.2.5=aix_325
powerpc-ibm-aix4.1.4.0=aix_41
powerpc-ibm-aix4.1.5.0=aix_41

11
src/template/aix_325 Normal file
View File

@ -0,0 +1,11 @@
AROPT:crs
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
SHARED_LIB:-e _nostart -lc
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:
CC:xlc

View File

@ -1,6 +1,6 @@
AROPT:crs
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
SHARED_LIB:
SHARED_LIB:-bnoentry -lc
ALL:
SRCH_INC:
SRCH_LIB: