qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Only build with -g CFLAGS/LDFLAGS if using --en


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] Only build with -g CFLAGS/LDFLAGS if using --enable-debug and add --optflags.
Date: Tue, 6 Sep 2011 10:26:08 +0100

On 6 September 2011 09:02, Brad <address@hidden> wrote:
> Only build with -g CFLAGS/LDFLAGS if using --enable-debug.

I'm not convinced -- I think we should always build with -g;
it means you can do at least some debugging on an in-tree
build even if it's the optimised version. Debug info should
be stripped at install time, right?

(I don't think this is a particularly out-on-a-limb view;
it's the standard policy for building things in Debian,
for instance.)

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]