mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
cdrtools-native: Fix build with GCC 14
Add a patch to fix do_configure with GCC 14. Disable building cdda2wav because it doesn't build with GCC 14. (From OE-Core rev: 0fbe1766abb00edeb8ec9a0c8bdb4e723be4f352) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f66f8fa9f6
commit
2490d0c12c
@@ -13,7 +13,8 @@ DEPENDS += "gnu-config-native"
|
||||
SRC_URI = " \
|
||||
${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${PV}.tar.bz2 \
|
||||
file://0001-Don-t-set-uid-gid-during-install.patch \
|
||||
file://riscv64-linux-gcc.rul \
|
||||
file://riscv64-linux-gcc.rul \
|
||||
file://gcc14-fix.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "7d45c5b7e1f78d85d1583b361aee6e8b"
|
||||
@@ -31,6 +32,9 @@ inherit native
|
||||
CFLAGS += "-std=gnu89"
|
||||
|
||||
do_configure() {
|
||||
# cdda2wav does not build with GCC 14
|
||||
rm -f ${S}/TARGETS/55cdda2wav
|
||||
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/autoconf
|
||||
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/autoconf
|
||||
install -m 0644 ${UNPACKDIR}/riscv64-linux-gcc.rul ${S}/RULES/
|
||||
|
||||
Reference in New Issue
Block a user