Re: CFLAGS and configure options
От | Martín Marqués |
---|---|
Тема | Re: CFLAGS and configure options |
Дата | |
Msg-id | CABeG9Ls-gS6JWhz1sb7eDw-1_nVivDRPhYQ1J9J5O_fF9RTyKw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: CFLAGS and configure options (Pavel Raiskup <praiskup@redhat.com>) |
Список | pgsql-pkg-yum |
Hi Pavel, 2014-03-07 6:44 GMT-03:00 Pavel Raiskup <praiskup@redhat.com>: > > I'm not the correct person to answer why it is like that (the %beta part > of *spec file is quite old). But at least in Fedora/RHEL we build with > debugging information by default (we are passing the -g option to gcc via > CFLAGS). This may be pretty likely historic leftover nobody cared of > until now. Yes, that's correct, it is using -g in CFLAGS, just got curious when I compared configure options with the debian build. > As a workaround, you may use 'export CFLAGS="$CFLAGS -g"' before you'll > rpmbuild, or so. I'm actually adding -fno-omit-frame-pointer to CFLAGS so in case we need it, we can get hierarchical perf reports without having to recompile/install/restart. Cheers, -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-pkg-yum по дате отправления: