-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you Tom!

make CFLAGS=-O0  was it.

now gdb doesn't print <Value optimized out>.

regards


On 08/07/14 17:45, Tom Lane wrote:
> geohas <li...@hasibether.at> writes:
>> is there any hint to tell pgxs to compile with gcc -O0 (CFLAGS) ?
>
> I tend to use
>
>     make PROFILE=-O0
>
> which relies on knowing that PG's make rules append $(PROFILE) to CFLAGS.
> Alternatively you could just override CFLAGS:
>
>     make CFLAGS="whatever"
>
> but this requires knowing exactly what configure put into CFLAGS so
> that you don't remove any flags that you still want.
>
>             regards, tom lane
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTvBP3AAoJEJFGMlQe7wR/ACYIAJufplHygGUpKft8+S0W/Mpu
+tLX8bWpFd9Zg1fD1+gC0AglN6hSmiBc1TpSejOSruVUnFRoIAPbzDp+lSUpR4Hm
nC99Zjr71Qosinrwh3upLcN+CvM5jG+J5SLJfjTK1z5CLR0imudTQLXrNw8j0rFu
mgH5gKYa+/idxKnG1Hf8dzvdGIUOiRxDvX0F+FXgESedur6/voYgA6utdQBjHVLS
rfdNncWtcvswNhvhBfaZX30Nv9w+tiY/i+d/fR5mxU1D6RPDDy2JDIiQcX4ZstaS
1Rc4GYfH780TJxxp8whZ1cVgCcUC6G1cC23bvBfScuZn14+1qMsyHX/AjQRpugQ=
=lDtn
-----END PGP SIGNATURE-----



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to