From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Lukichev Date: Mon, 03 Feb 2014 11:26:20 +0200 Subject: [Buildroot] [PATCH 2/3] infozip: fix cross-compilation issues In-Reply-To: <87ob2pp8xa.fsf@dell.be.48ers.dk> References: <1391120128-8375-1-git-send-email-romain.naour@openwide.fr> <87ob2pp8xa.fsf@dell.be.48ers.dk> Message-ID: <52EF60BC.4040600@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Peter, Romain, all, On 02/02/2014 10:16 PM, Peter Korsgaard wrote: >>>>>> "Alexander" == Alexander Lukichev writes: > > +-CFLAGS = -O2 $(CFLAGS_NOOPT) > > ++CFLAGS ?= -02 $(CFLAGS_NOOPT) > > Excuse me, is it -02 that's meant here? > Good catch. Actually in the context of Buildroot we don't want the > package to hardcode the optimization level, so I will simply drop it. Just out of curiosity, I have not seen an -0 gcc optimization flag (as opposed to -O, zero vs. a big O). Is it somewhere on gcc manual? -- Best regards, Alexander Lukichev