diff options
author | Bruce Momjian | 2006-07-14 01:05:14 +0000 |
---|---|---|
committer | Bruce Momjian | 2006-07-14 01:05:14 +0000 |
commit | 21ba7197812911a9ab1dde0825a4d0c70fc9ce5c (patch) | |
tree | 2119ff5d4548665545f2f5d957b33f8cf15d06f9 | |
parent | 7b583f6055301d9ea41ef0ac09c0494b82d1f4d3 (diff) |
Move CFLAGS for pginclude to the end of the command line.
-rwxr-xr-x | src/tools/pginclude/pgcompinclude | 4 | ||||
-rwxr-xr-x | src/tools/pginclude/pgrminclude | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/pginclude/pgcompinclude b/src/tools/pginclude/pgcompinclude index 8c89e86883..dc424efc77 100755 --- a/src/tools/pginclude/pgcompinclude +++ b/src/tools/pginclude/pgcompinclude @@ -13,9 +13,9 @@ do echo "void include_test() {" >>/tmp/$$.c pgdefine "$FILE" >>/tmp/$$.c echo "}" >>/tmp/$$.c - cc $CFLAGS -fsyntax-only -Werror -Wall -Wmissing-prototypes \ + cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \ -Wmissing-declarations -I/pg/include -I/pg/backend \ - -I/pg/interfaces/libpq -I`dirname $FILE` -c /tmp/$$.c \ + -I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -c /tmp/$$.c \ -o /tmp/$$.o >/tmp/$$ 2>&1 if [ "$?" -ne 0 ] then echo "$FILE" diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude index 274f4b0ea8..70e9683ab4 100755 --- a/src/tools/pginclude/pgrminclude +++ b/src/tools/pginclude/pgrminclude @@ -61,9 +61,9 @@ do fi echo "}" >>/tmp/$$.c - cc $CFLAGS -fsyntax-only -Werror -Wall -Wmissing-prototypes \ + cc -fsyntax-only -Werror -Wall -Wmissing-prototypes \ -Wmissing-declarations -I/pg/include -I/pg/backend \ - -I/pg/interfaces/libpq -I`dirname $FILE` -c /tmp/$$.c \ + -I/pg/interfaces/libpq -I`dirname $FILE` $CFLAGS -c /tmp/$$.c \ -o /tmp/$$.o >/tmp/$$ 2>&1 if [ "$?" -eq 0 ] then echo "$FILE $INCLUDE" |