mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
systemd: Use cross cpp
While building for non x86 arch (ppc) found that build was using host's cpp which was not generating exact syscall list for ppc since it was using the include files from host With this patch will use $(CPP) instead of hardcoding cpp in makefile.am and then set CPP properly in recipe Fixes build failures on cross builds Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
@@ -27,6 +27,7 @@ SRCREV = "3fd89536883ea9e24e69f28de0d11cd7cffb42ce"
|
||||
|
||||
SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \
|
||||
file://use-rootlibdir.patch \
|
||||
file://use-cross-cpp.patch \
|
||||
file://gtk-doc.make \
|
||||
file://touchscreen.rules \
|
||||
file://modprobe.rules \
|
||||
@@ -62,6 +63,7 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
|
||||
|
||||
# There's no docbook-xsl-native, so for the xsltproc check to false
|
||||
do_configure_prepend() {
|
||||
export CPP="${HOST_PREFIX}cpp ${TOOLCHAIN_OPTIONS} ${HOST_CC_ARCH}"
|
||||
sed -i /xsltproc/d configure.ac
|
||||
|
||||
cp ${WORKDIR}/gtk-doc.make ${S}/docs/
|
||||
|
||||
Reference in New Issue
Block a user