Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit868859b

Browse files
committed
AIX patch from Darren King.
1 parent9939e55 commit868859b

File tree

5 files changed

+17
-22
lines changed

5 files changed

+17
-22
lines changed

‎src/backend/port/univel/port.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,6 @@ getrusage(int who, struct rusage * rusage)
7070
return (0);
7171
}
7272

73-
/*
74-
* Copyright (c) 1987 Regents of the University of California.
75-
* All rights reserved.
76-
*
77-
* Redistribution and use in source and binary forms are permitted
78-
* provided that this notice is preserved and that due credit is given
79-
* to the University of California at Berkeley. The name of the University
80-
* may not be used to endorse or promote products derived from this
81-
* software without specific written prior permission. This software
82-
* is provided ``as is'' without express or implied warranty.
83-
*/
84-
85-
#if defined(LIBC_SCCS)&& !defined(lint)
86-
staticcharsccsid[]="@(#)strcasecmp.c5.5 (Berkeley) 11/24/87";
87-
88-
#endif/* LIBC_SCCS and not lint */
89-
9073
#include<sys/types.h>
9174
#include<string.h>
9275

‎src/makefiles/Makefile.aix

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ $(POSTGRES_IMP):
1717
%$(EXPSUFF):
1818
$(MKLDEXPORT) $*.o `pwd` > $*$(EXPSUFF)
1919

20-
%.so: %.o %$(EXPSUFF)
20+
%$(DLSUFFIX): %.o %$(EXPSUFF)
2121
@echo Making share library $@ from $*.o, $*$(EXPSUFF), and installed postgres.imp
22-
$(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
23-
#41+ $(LD) -H512 -bnoentry -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
24-
#325 $(LD) -H512 -e _nostart -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) -lc
22+
$(LD) -H512 -bM:SRE -bI:$(LIBDIR)/$(POSTGRES_IMP) -bE:$*$(EXPSUFF) -o $@ $*.o $(LDFLAGS) $(CFLAGS_SL)

‎src/template/.similar

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ i586-pc-linux-gnu=linux-elf
1313
i686-pc-linux-gnu=linux-elf
1414
sparc-unknown-linux-gnu=linux-elf
1515
alpha-unknown-linux-gnu=linuxalpha
16+
powerpc-ibm-aix3.2.5=aix_325
17+
powerpc-ibm-aix4.1.4.0=aix_41
18+
powerpc-ibm-aix4.1.5.0=aix_41

‎src/template/aix_325

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
AROPT:crs
2+
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
3+
SHARED_LIB:-e _nostart -lc
4+
ALL:
5+
SRCH_INC:
6+
SRCH_LIB:
7+
USE_LOCALE:no
8+
DLSUFFIX:.so
9+
YFLAGS:-d
10+
YACC:
11+
CC:xlc

‎src/template/aix-ccrenamed to‎src/template/aix_41

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AROPT:crs
22
CFLAGS:-qchars=signed -qmaxmem=8192 -qhalt=w -qsrcmsg
3-
SHARED_LIB:
3+
SHARED_LIB:-bnoentry -lc
44
ALL:
55
SRCH_INC:
66
SRCH_LIB:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp