mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +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,5 +1,4 @@
|
||||
if test "$GCC" = yes; then
|
||||
CFLAGS=-O2
|
||||
THREAD_CPPFLAGS="-pthread"
|
||||
else
|
||||
# the -Kno_host is temporary for a bug in the compiler. See -hackers
|
||||
|
Reference in New Issue
Block a user