build: allow turning off debuginfo
commit5bc62e01cd22ea1f56bde94b0616c46f8af2676e
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 8 Feb 2012 12:54:13 +0000 (8 13:54 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 24 Feb 2012 19:36:05 +0000 (24 13:36 -0600)
treeb1d66b29b832f41f05fd6c6500f051a002bc2057
parent45efb16124efef51de5157afc31984b5a47700f9
build: allow turning off debuginfo

This patch adds --{enable,disable}-debug-info switches to configure
which allows to include/exclude the '-g' switch on the gcc & ld
command lines.  Not building debug info reduces ressource usage
(especially disk) alot and is quite useful for test builds.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure