very minor CFLAGS/COPT request

Поиск
Список
Период
Сортировка
От Michael
Тема very minor CFLAGS/COPT request
Дата
Msg-id 199803011516.PAA04304@moscow.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

In building the March 1 snapshot on linux 2.0.31 / glibc 2.0.7-pre1 /
egcs 1.01, after configuring I blindly typed
    make CFLAGS="-O9" >& make.log &
and the -I declarations from Makefile.global were omitted and
the build failed.  After reading Makefile.global, I tried
    make COPT="-O9" >& make.log &
which resulted in both the -O2 from the template and the -O9
option were used in the build.  No errors were produced.

It appears that if I wanted to build pgsql with different
optimization levels, the easiest solution would be to remove
the -O2 from the linux template and use COPT as above.  Is
there something obvious I've missed?

I'd like to suggest
that this situation be documented in INSTALL, that COPT
override the default optimization option, or that the -I
options be removed from CFLAGS and included by other means,
to guard against "sophisticated but oblivious" installers like me.

Thanks,

Michael
csf@moscow.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: v6.3 performance
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [QUESTIONS] varchar vs text