mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
2747f11e79
commit
e340d5b548
|
@ -46,7 +46,7 @@ EXTRA_OEMAKE:append = " LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unit
|
|||
CFLAGS += "-D__USE_GNU -D_GNU_SOURCE "
|
||||
|
||||
CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3"
|
||||
CFLAGS:arm += "-D__WORDSIZE"
|
||||
CFLAGS:append:arm = " -D__WORDSIZE"
|
||||
|
||||
# overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'"
|
||||
export LDFLAGS=""
|
||||
|
|
Loading…
Reference in New Issue
Block a user