Try this:
Code:
CFLAGS="-g" make release
This only works if you don't set CFLAGS within your makefiles. If you already do that, and it's always set to the same value, you can still do what you want. If, for example, you already set CFLAGS to -O3, try this:
Code:
CFLAGS="-O3 -g" make release
Hope this helps.