Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
45fbab29
Commit
45fbab29
authored
Apr 25, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make thread flags CFLAGS, not CPPFLAGS.
parent
ae5bc8a6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
16 deletions
+15
-16
configure
configure
+0
-3
configure.in
configure.in
+1
-4
src/interfaces/ecpg/compatlib/Makefile
src/interfaces/ecpg/compatlib/Makefile
+3
-2
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
+3
-2
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/Makefile
+3
-2
src/interfaces/ecpg/test/Makefile
src/interfaces/ecpg/test/Makefile
+3
-2
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+2
-1
No files found.
configure
View file @
45fbab29
...
...
@@ -13465,9 +13465,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# set thread flags
# ACX_PTHREAD sets PTHREAD_CFLAGS that should be used for linking too
PTHREAD_LIBS
=
"
$PTHREAD_CFLAGS
$PTHREAD_LIBS
"
# At this point, we don't want to muck with the compiler name for threading.
# Let's see who fails, perhaps AIX. 2004-04-23
if
test
"
$PTHREAD_CC
"
!=
"
$CC
"
;
then
...
...
configure.in
View file @
45fbab29
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.32
6 2004/04/24 03:09:35
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.32
7 2004/04/25 20:57:32
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -959,9 +959,6 @@ AC_FUNC_FSEEKO
if test "$enable_thread_safety" = yes; then
ACX_PTHREAD # set thread flags
# ACX_PTHREAD sets PTHREAD_CFLAGS that should be used for linking too
PTHREAD_LIBS="$PTHREAD_CFLAGS $PTHREAD_LIBS"
# At this point, we don't want to muck with the compiler name for threading.
# Let's see who fails, perhaps AIX. 2004-04-23
if test "$PTHREAD_CC" != "$CC"; then
...
...
src/interfaces/ecpg/compatlib/Makefile
View file @
45fbab29
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.1
5 2004/04/23 18:15:54
momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.1
6 2004/04/25 20:57:32
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,7 +16,8 @@ NAME= ecpg_compat
SO_MAJOR_VERSION
=
1
SO_MINOR_VERSION
=
1
override CPPFLAGS
:
= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS) $(PTHREAD_CFLAGS)
override CPPFLAGS
:
= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS)
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
SHLIB_LINK
=
-L
../ecpglib
-lecpg
-L
../pgtypeslib
-lpgtypes
$(libpq)
\
$(
filter
-lintl
-lssl
-lcrypto
-lkrb5
-lcrypt
-lm
,
$(LIBS)
)
$(PTHREAD_LIBS)
...
...
src/interfaces/ecpg/ecpglib/Makefile
View file @
45fbab29
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.1
5 2004/04/23 18:15:54
momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.1
6 2004/04/25 20:57:32
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,7 +16,8 @@ NAME= ecpg
SO_MAJOR_VERSION
=
4
SO_MINOR_VERSION
=
2
override CPPFLAGS
:
= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS) $(PTHREAD_CFLAGS)
override CPPFLAGS
:
= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS)
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
OBJS
=
execute.o typename.o descriptor.o data.o error.o prepare.o memory.o
\
connect.o misc.o
...
...
src/interfaces/ecpg/preproc/Makefile
View file @
45fbab29
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.10
0 2004/04/23 18:15:55
momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.10
1 2004/04/25 20:57:32
momjian Exp $
subdir
=
src/interfaces/ecpg/preproc
top_builddir
=
../../../..
...
...
@@ -8,7 +8,7 @@ MAJOR_VERSION=3
MINOR_VERSION
=
2
PATCHLEVEL
=
0
override CPPFLAGS
:
= -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS)
$(PTHREAD_CFLAGS)
\
override CPPFLAGS
:
= -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS)
\
-DMAJOR_VERSION=$(MAJOR_VERSION)
\
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
\
-DINCLUDEDIR=
\"
$(includedir)
\"
\
...
...
@@ -17,6 +17,7 @@ override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) $(PTHREAD_CF
ifeq
($(GCC), yes)
override
CFLAGS
+=
-Wno-error
endif
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
OBJS
=
preproc.o type.o ecpg.o ecpg_keywords.o output.o
\
keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o
...
...
src/interfaces/ecpg/test/Makefile
View file @
45fbab29
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.4
5 2004/04/23 18:15:55
momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.4
6 2004/04/25 20:57:32
momjian Exp $
subdir
=
src/interfaces/ecpg/test
top_builddir
=
../../../..
include
$(top_builddir)/src/Makefile.global
override CPPFLAGS
:
= -I$(srcdir)/../include -I$(libpq_srcdir) $(CPPFLAGS) $(PTHREAD_CFLAGS)
override CPPFLAGS
:
= -I$(srcdir)/../include -I$(libpq_srcdir) $(CPPFLAGS)
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
ECPG
=
../preproc/ecpg
-I
$(srcdir)
/../include
...
...
src/interfaces/libpq/Makefile
View file @
45fbab29
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.10
2 2004/04/23 18:15:55
momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.10
3 2004/04/25 20:57:32
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -19,6 +19,7 @@ SO_MAJOR_VERSION= 3
SO_MINOR_VERSION
=
2
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS) $(PTHREAD_CFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"'
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
OBJS
=
fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o
\
fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment