diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2024-11-04 23:36:44 -0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-11-12 23:13:45 +0000 |
| commit | e340d5b548158da1b82f38809725cc3787e42e05 (patch) | |
| tree | d582cf11293949fe4b8054cbfa988f32be938220 /recipes-containers/criu/criu_git.bb | |
| parent | 2747f11e79c29ed4bced84e3b536ae9549aacc79 (diff) | |
| download | meta-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>
Diffstat (limited to 'recipes-containers/criu/criu_git.bb')
| -rw-r--r-- | recipes-containers/criu/criu_git.bb | 2 |
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 | |||
| 46 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " | 46 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " |
| 47 | 47 | ||
| 48 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" | 48 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" |
| 49 | CFLAGS:arm += "-D__WORDSIZE" | 49 | CFLAGS: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'" |
| 52 | export LDFLAGS="" | 52 | export LDFLAGS="" |
