| От | Tom Lane |
|---|---|
| Тема | Ordering problem with --with-includes |
| Дата | |
| Msg-id | 3952.982625763@sss.pgh.pa.us обсуждение исходный текст |
| Ответы |
Re: Ordering problem with --with-includes
|
| Список | pgsql-hackers |
I find that if one specifies, say,
configure --with-includes=/usr/local/include
one gets compiler commands like
cc -Ae -g +z -I/usr/local/include -I../../../src/include -I../../../src/interfaces/libpq -c -o pgtcl.o pgtcl.c
because the -I commands are added to CPPFLAGS which appears before any
-I commands the makefiles themselves add. This strikes me as uncool.
For example, it will be impossible to compile Postgres if there are
headers from an old version lurking in /usr/local/include, because those
will be read instead of the ones from our source tree. How hard would
it be to make the --with-includes -I directives appear after our own?
The same problem arises for --with-libs, btw.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера