During code review for xen I noticed that --enable-debug-info would still strip the binaries because strip_opt= defaults to yes. If --enable-debug-info is passed to configure it has to be assumed that not only the compiled binaries have debugsymbols, also the installed binaries should keep the symbols. The requirement to pass also --disable-strip looks odd.
Signed-off-by: Olaf Hering <o...@aepfle.de> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Peter Maydell <peter.mayd...@linaro.org> Cc: Michael Tokarev <m...@tls.msk.ru> Cc: Stefan Hajnoczi <stefa...@redhat.com> Cc: Stefan Weil <s...@weilnetz.de> --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 862f6d2..1fd5c6b 100755 --- a/configure +++ b/configure @@ -357,6 +357,7 @@ for opt do EXTRA_LDFLAGS="$optarg" ;; --enable-debug-info) debug_info="yes" + strip_opt="no" ;; --disable-debug-info) debug_info="no" ;;