]> granicus.if.org Git - postgresql/commit
When using GCC, change the default CFLAGS to:
authorNeil Conway <neilc@samurai.com>
Wed, 20 Oct 2004 02:12:07 +0000 (02:12 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 20 Oct 2004 02:12:07 +0000 (02:12 +0000)
commit857e210ea9dd3488c26356901301a3f466f7dbbf
treeea510dd6919d7e72bfc5d228525f7a965e589bfd
parenta1bc728cf92c0df4477d80ff845c6e81d2ccf501
When using GCC, change the default CFLAGS to:

  -O2 -Wall -Wmissing-prototypes -Wpointer-arith

Check whether the version of GCC we are using supports any of:

  -Wdeclaration-after-statement
  -Wendif-labels
  -Wold-style-definition

And add the supported flags to CFLAGS.
config/c-compiler.m4
configure
configure.in
src/Makefile.global.in