mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 13:51:21 +02:00
AIX patch from Darren King.
This commit is contained in:
parent
9939e55513
commit
868859b7e3
@ -70,23 +70,6 @@ getrusage(int who, struct rusage * rusage)
|
|||||||
return (0);
|
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 <sys/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -17,8 +17,6 @@ $(POSTGRES_IMP):
|
|||||||
%$(EXPSUFF):
|
%$(EXPSUFF):
|
||||||
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
|
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
|
||||||
|
|
||||||
%.so: %.o %$(EXPSUFF)
|
%$(DLSUFFIX): %.o %$(EXPSUFF)
|
||||||
@echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
|
@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
|
$(LD) -H512 -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) $(CFLAGS_SL)
|
||||||
#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
|
|
||||||
|
@ -13,3 +13,6 @@ i586-pc-linux-gnu=linux-elf
|
|||||||
i686-pc-linux-gnu=linux-elf
|
i686-pc-linux-gnu=linux-elf
|
||||||
sparc-unknown-linux-gnu=linux-elf
|
sparc-unknown-linux-gnu=linux-elf
|
||||||
alpha-unknown-linux-gnu=linuxalpha
|
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
11
src/template/aix_325
Normal 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
|
@ -1,6 +1,6 @@
|
|||||||
AROPT:crs
|
AROPT:crs
|
||||||
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
|
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
|
||||||
SHARED_LIB:
|
SHARED_LIB:-bnoentry -lc
|
||||||
ALL:
|
ALL:
|
||||||
SRCH_INC:
|
SRCH_INC:
|
||||||
SRCH_LIB:
|
SRCH_LIB:
|
Loading…
Reference in New Issue
Block a user