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

Commitaf8e276

Browse files
committed
Here are some additional patches needed to get the UnixWare 7 C++
compiler toattempt to compile libpq++. The patches address the following problems:1. In my first pass at changing the libpq++ makefile, I forgot toinclude the PORTNAME in the Makefile.in file.2. The UnixWare 7 C++ compiler did not like the '-K alloca' option inCXXFLAGS.Billy G. Allie
1 parentbcb51fc commitaf8e276

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

‎src/interfaces/libpq++/Makefile.in

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.1 1998/09/11 16:56:23 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.2 1998/09/13 04:00:41 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -20,6 +20,8 @@ LIBNAME= libpq++
2020

2121
CXX=@CXX@
2222

23+
PORTNAME=@PORTNAME@
24+
2325
# We have to override -Werror, which makes warnings, fatal, because we
2426
# inevitably get the warning, "abstract declarator used as declaration"
2527
# because of our inclusion of c.h and we don't know how to stop that.
@@ -67,13 +69,21 @@ ifeq ($(PORTNAME), unixware)
6769
shlib := libpq.so.1
6870
LDFLAGS_SL = -G -z text
6971
CFLAGS +=$(CFLAGS_SL)
72+
ifeq ($(CXX), CC)
73+
CXXFLAGS += -Xw
74+
COMPILE.cc =$(CXX)$(CXXFLAGS:ll,alloca=ll)$(CPPFLAGS)$(TARGET_ARCH) -c
75+
endif
7076
endif
7177

7278
ifeq ($(PORTNAME), univel)
7379
install-shlib-dep := install-shlib
7480
shlib := libpq.so.1
7581
LDFLAGS_SL = -G -z text
7682
CFLAGS +=$(CFLAGS_SL)
83+
ifeq ($(CXX), CC)
84+
CXXFLAGS += -Xw
85+
COMPILE.cc =$(CXX)$(CXXFLAGS:ll,alloca=ll)$(CPPFLAGS)$(TARGET_ARCH) -c
86+
endif
7787
endif
7888

7989
ifeq ($(PORTNAME), hpux)

‎src/template/univel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AROPT:crs
2-
CFLAGS:-Xa -v -O -K i486,host,inline,loop_unroll -Dsvr4
2+
CFLAGS:-v -O -K i486,host,inline,loop_unroll -Dsvr4
33
SHARED_LIB:-K PIC
44
SRCH_INC:
55
SRCH_LIB:

‎src/template/unixware

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AROPT:crs
2-
CFLAGS:-Xa -v -O -K i486,host,inline,loop_unroll,alloca -Dsvr4
2+
CFLAGS:-O -K i486,host,inline,loop_unroll,alloca -Dsvr4
33
SHARED_LIB:-K PIC
44
SRCH_INC:/opt/include
55
SRCH_LIB:/opt/lib

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp