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

Commit63746a9

Browse files
committed
plperl's makefile tried to use perl's choice of compiler with
postgres's choice of compiler options. Tres uncool.
1 parentfac4f9a commit63746a9

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

‎src/pl/plperl/Makefile.PL

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,13 @@ TYPEMAP= -typemap \$(EXTDIR)/typemap
5656
# use the same compiler as perl did
5757
CC=$Config{cc}
5858
59-
#get the compiler optionsthat perlwants.
60-
CFLAGS+= @{[ccopts()]}
59+
#use thesamecompiler optionsas perldid, too
60+
CFLAGS= @{[ccopts()]}
6161
# including the ones for dynamic loading
6262
CFLAGS+=$Config{cccdlflags}
6363
64-
# add the includes for postgreSQL
65-
CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include
66-
67-
# For fmgr.h
68-
CFLAGS+= -I\$(SRCDIR)/backend
69-
64+
# now add the includes for postgreSQL
65+
CFLAGS+= -I\$(LIBPQDIR) -I\$(SRCDIR)/include -I\$(SRCDIR)/backend
7066
7167
# add the postgreSQL libraries
7268
LDADD+= -L\$(LIBPQDIR) -lpq

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp