Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@busybox.net
Subject: [Buildroot] cmake Release build overwrites Os
Date: Sun, 7 Aug 2016 18:40:32 +0200	[thread overview]
Message-ID: <20160807164032.GL22524@waldemar-brodkorb.de> (raw)

Hi,

while doing the m68k patch for assimp, I realized that following is
used to configure cmake based packages:
package/pkg-cmake.mk:           -DCMAKE_BUILD_TYPE=$$(if $$(BR2_ENABLE_DEBUG),RelWithDebInfo,Release)

This means that Cmake adds -O3 to the CFLAGS/CXXFLAGS _after_ -Os
and so get used.

Is this the correct behaviour or do I missed something?

best regards
 Waldemar

             reply	other threads:[~2016-08-07 16:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-07 16:40 Waldemar Brodkorb [this message]
2016-08-07 17:06 ` [Buildroot] cmake Release build overwrites Os Samuel Martin
2016-08-07 20:32 ` Thomas Petazzoni
2016-08-08 21:47   ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160807164032.GL22524@waldemar-brodkorb.de \
    --to=wbx@openadk.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox