projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
929e450
)
Add $CFLAGS handling to pgcompinclude.
author
Bruce Momjian
<bruce@momjian.us>
Mon, 10 Jul 2006 17:11:43 +0000
(17:11 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Mon, 10 Jul 2006 17:11:43 +0000
(17:11 +0000)
src/tools/pginclude/pgcompinclude
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/pginclude/pgcompinclude
b/src/tools/pginclude/pgcompinclude
index c85a581e498aeda80ea7a4ae9cb1ddc129aee2a3..90c2d82b2e47d8c7a0dfacbb9d529fd5e0074bf8 100755
(executable)
--- a/
src/tools/pginclude/pgcompinclude
+++ b/
src/tools/pginclude/pgcompinclude
@@
-13,7
+13,7
@@
do
echo "void include_test() {" >>/tmp/$$.c
pgdefine "$FILE" >>/tmp/$$.c
echo "}" >>/tmp/$$.c
- cc -fsyntax-only -Werror -Wall -Wmissing-prototypes -Wmissing-declarations -I/pg/include -I/pg/backend -c /tmp/$$.c -o /tmp/$$.o >/tmp/$$ 2>&1
+ cc
$CFLAGS
-fsyntax-only -Werror -Wall -Wmissing-prototypes -Wmissing-declarations -I/pg/include -I/pg/backend -c /tmp/$$.c -o /tmp/$$.o >/tmp/$$ 2>&1
if [ "$?" -ne 0 ]
then echo "$FILE"
if [ "$1" = "-v" ]