From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Reutner-Fischer Date: Tue, 6 Oct 2009 20:49:39 +0200 Subject: [Buildroot] [PATCH 6/6] remove superfluous OPTIMIZE and DEBUG config knobs In-Reply-To: <871vlg2wn7.fsf@macbook.be.48ers.dk> References: <1a6b4f990a536bfd23ae1e57a2cd11527761f8ec.1254853146.git.rep.dot.nop@gmail.com> <4a5a0f10dbaecfd7b024c0cf1e90fd68a6730eac.1254853146.git.rep.dot.nop@gmail.com> <6fe0ac8fa1f42152f604ca708aff08b8f119073a.1254853146.git.rep.dot.nop@gmail.com> <582a63d745311a980a8700a2a0ec17c3ae0f5ca9.1254853146.git.rep.dot.nop@gmail.com> <5959e530273437a31071499009cecc7a7e9ab461.1254853146.git.rep.dot.nop@gmail.com> <4bf0f4eae22ac9a6b1afa4621ff32b3f43887a85.1254853146.git.rep.dot.nop@gmail.com> <871vlg2wn7.fsf@macbook.be.48ers.dk> Message-ID: <20091006184939.GD10261@mx.loc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Tue, Oct 06, 2009 at 08:41:00PM +0200, Peter Korsgaard wrote: >>>>>> "Bernhard" == Bernhard Reutner-Fischer writes: > > Bernhard> There is BR2_TARGET_OPTIMIZATION that is saved in the .config > >I'm not sure. I think the existing config is pretty user friendly. If we >could do this, then we should probably rename it to >BR2_TARGET_EXTRA_CFLAGS or something like that so it's clear that you >should use it for all extra flags. The help-text of BR2_TARGET_OPTIMIZATION reads: ---8<--- Optimizations to use when building for the target host. ---8<--- If you want to build with -O0 -g3 -ggdb3 , then just set it to that. Adding knobs for each -Ox and -gx is not userfriendly but odd, given that there always was BR2_TARGET_OPTIMIZATION and that this is (or should be anyway) used _everywhere_.