diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2000-06-30 16:11:02 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2000-06-30 16:11:02 +0000 |
| commit | 385470f8c622ca844971b1c0a5929f80f43c9e37 (patch) | |
| tree | 146093fa97fb3f7810e0d4781ab44d74b78b025a /src/interfaces | |
| parent | 3513f4d162838c5c33ae89c30eac90b95e154f69 (diff) | |
| download | postgresql-385470f8c622ca844971b1c0a5929f80f43c9e37.tar.gz | |
Fixes for Solaris/cc suggested by <pgsql-hackers@thewrittenword.com>
Don't use DISABLE_COMPLEX_MACRO on Solaris. Don't define the
replacement function in the header file. Use -KPIC, not -K PIC.
Use CC to link C++ libraries, not ld/ar.
Eliminate file not found warnings in tcl build code.
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/libpq++/Makefile | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/interfaces/libpq++/Makefile b/src/interfaces/libpq++/Makefile index 44c008fb7c..ad31cad642 100644 --- a/src/interfaces/libpq++/Makefile +++ b/src/interfaces/libpq++/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.22 2000/06/28 18:29:48 petere Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.23 2000/06/30 16:10:54 petere Exp $ # #------------------------------------------------------------------------- @@ -30,9 +30,24 @@ endif # For CC on IRIX, must use CC as linker/archiver of C++ libraries ifeq ($(PORTNAME), irix5) ifeq ($(CXX), CC) - AR = CC - AROPT = -ar -o - LD = CC + AR := CC + AROPT := -ar -o + LD := CC + endif +endif +# Same for Solaris with native compiler +ifeq ($(PORTNAME), solaris_sparc) + ifeq ($(CXX), CC) + AR := CC + AROPT := -xar -o + LD := CC + endif +endif +ifeq ($(PORTNAME), solaris_i386) + ifeq ($(CXX), CC) + AR := CC + AROPT := -xar -o + LD := CC endif endif |
