Finding out compile options


simple question: Is it possible to find out the used compile options (e.g. with a command line option like -v)? I’d like to find out the used options for the Ubuntu package.

There is the scons --help options to enable/disable the options in the source package.

Although in a compiled deb, not sure if there really is a way to see what options were enabled when the package was compiled. Maybe in the description of the package the person who compiled could of added the additional info?