All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Andre McCurdy <armccurdy@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 12/13] sqlite3: make CFLAGS consistent across native, nativesdk and target cases
Date: Sat, 24 Aug 2019 09:49:35 -0700	[thread overview]
Message-ID: <CAMKF1spy5ni8O3stP=mFZWK8bjLzwwY1HUHfd+asACXX10Md5g@mail.gmail.com> (raw)
In-Reply-To: <1566593504-21918-12-git-send-email-armccurdy@gmail.com>

On Fri, Aug 23, 2019 at 1:54 PM Andre McCurdy <armccurdy@gmail.com> wrote:
>
> The previous simplification:
>
>   https://git.openembedded.org/openembedded-core/commit/?id=604777acfc54d285f315b622bd147ed02d55d6fd
>
> looked OK but didn't actually work as expected. The native and
> nativesdk classes re-set CFLAGS after the += has been applied and
> so any modifications made via += are lost. Use _append instead.
>

Not a question for this patch but the original patch which attemped to
unify patches for native nativesdk and target recipes. In my opinion
native and nativesdk and native particularly should be compiled with
default options and flags as much as possible, unless necessary
is this needed in this case?

> Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
> ---
>  meta/recipes-support/sqlite/sqlite3.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
> index 7cf23d0..044af5e 100644
> --- a/meta/recipes-support/sqlite/sqlite3.inc
> +++ b/meta/recipes-support/sqlite/sqlite3.inc
> @@ -47,10 +47,10 @@ EXTRA_OECONF = " \
>  CFLAGS_append = " -fPIC"
>
>  # pread() is in POSIX.1-2001 so any reasonable system must surely support it
> -CFLAGS += "-DUSE_PREAD"
> +CFLAGS_append = " -DUSE_PREAD"
>
>  # Provide column meta-data API
> -CFLAGS += "-DSQLITE_ENABLE_COLUMN_METADATA"
> +CFLAGS_append = " -DSQLITE_ENABLE_COLUMN_METADATA"
>
>  PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
>
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


  reply	other threads:[~2019-08-24 16:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23 20:51 [PATCH 01/13] bitbake.conf: drop FETCHCMD, GITDIR, etc fetcher over-rides Andre McCurdy
2019-08-23 20:51 ` [PATCH 02/13] tune-arm1136jf-s.inc: add hardfloat support Andre McCurdy
2019-08-23 20:51 ` [PATCH 03/13] tune-arm1176jz-s.inc: add support for arm1176jz-s CPU specific tuning Andre McCurdy
2019-08-24 17:21   ` Khem Raj
2019-08-23 20:51 ` [PATCH 04/13] tune-ep9312.inc: fix TUNEVALID description Andre McCurdy
2019-08-23 20:51 ` [PATCH 05/13] feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX Andre McCurdy
2019-09-04 18:54   ` Andre McCurdy
2019-08-23 20:51 ` [PATCH 06/13] packagegroup-core-boot: drop duplicate MACHINE_ESSENTIAL_EXTRA_RDEPENDS, etc Andre McCurdy
2019-08-23 20:51 ` [PATCH 07/13] rootfs-postcommands.bbclass: add inittab tweak to read_only_rootfs_hook() Andre McCurdy
2019-08-23 20:51 ` [PATCH 08/13] base-files: nsswitch.conf is glibc specific Andre McCurdy
2019-08-23 20:51 ` [PATCH 09/13] glibc: drop obsolete packaging of glibc libnsl libs Andre McCurdy
2019-08-24 17:00   ` Khem Raj
2019-08-27 13:56   ` Adrian Bunk
2019-08-27 15:55     ` Richard Purdie
2019-08-23 20:51 ` [PATCH 10/13] update-rc.d.bbclass: support VIRTUAL-RUNTIME_init_manager == busybox Andre McCurdy
2019-08-24 16:58   ` Khem Raj
2019-08-23 20:51 ` [PATCH 11/13] dropbear: don't create invalid symlinks if ssh, scp, etc are disabled Andre McCurdy
2019-08-24 16:55   ` Khem Raj
2019-08-23 20:51 ` [PATCH 12/13] sqlite3: make CFLAGS consistent across native, nativesdk and target cases Andre McCurdy
2019-08-24 16:49   ` Khem Raj [this message]
2019-08-23 20:51 ` [PATCH 13/13] sqlite3: explicitly set target endian-ness Andre McCurdy

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='CAMKF1spy5ni8O3stP=mFZWK8bjLzwwY1HUHfd+asACXX10Md5g@mail.gmail.com' \
    --to=raj.khem@gmail.com \
    --cc=armccurdy@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.