summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2024-11-04 23:36:44 -0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-11-12 23:13:45 +0000
commite340d5b548158da1b82f38809725cc3787e42e05 (patch)
treed582cf11293949fe4b8054cbfa988f32be938220
parent2747f11e79c29ed4bced84e3b536ae9549aacc79 (diff)
downloadmeta-virtualization-e340d5b548158da1b82f38809725cc3787e42e05.tar.gz
criu: fix buildpaths QA issue for arm
The settings of CFLAGS:arm overrides the previous CFLAGS settings, causing buildpaths QA error for arm. Use CFLAGS:append:arm instead to fix this issue. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/criu/criu_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb
index 09503624..8ecc1725 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -46,7 +46,7 @@ EXTRA_OEMAKE:append = " LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unit
46CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " 46CFLAGS += "-D__USE_GNU -D_GNU_SOURCE "
47 47
48CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" 48CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3"
49CFLAGS:arm += "-D__WORDSIZE" 49CFLAGS:append:arm = " -D__WORDSIZE"
50 50
51# overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'" 51# overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'"
52export LDFLAGS="" 52export LDFLAGS=""