mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
This centralizes the optimization defaults into configure.in, rather
than having CFLAGS= in the template files. It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless the template overrides it.
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
if test "$GCC" = yes ; then
|
||||
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
|
||||
CFLAGS="-O2"
|
||||
else
|
||||
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
|
||||
|
||||
if test "$GCC" != yes ; then
|
||||
CC="$CC -Ae"
|
||||
CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
|
||||
CFLAGS="+O2"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user