[PATCH rtems-source-builder 2/2] qemu: Update CFLAGS and LDFLAGS overrides
Kinsey Moore
kinsey.moore at oarcorp.com
Tue Jan 30 21:37:00 UTC 2024
QEMU used to honor LDFLAGS and CFLAGS and has since moved to accepting
them via --extra-cflags and --extra-ldflags options to configure.
---
source-builder/config/qemu-common-2.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source-builder/config/qemu-common-2.cfg b/source-builder/config/qemu-common-2.cfg
index 1dbaf05..56cb8e6 100644
--- a/source-builder/config/qemu-common-2.cfg
+++ b/source-builder/config/qemu-common-2.cfg
@@ -119,12 +119,12 @@ URL: http://www.qemu.org/
PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig \
PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT \
%{_ld_library_path}=$SYSROOT/lib \
- LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" \
- CFLAGS="${CFLAGS} ${VDE_CFLAGS}" \
../${source_dir_qemu}/configure \
--prefix=%{_prefix} \
${CROSS_PREFIX_OPTION} \
--make=%{__make} \
+ --extra-ldflags="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" \
+ --extra-cflags="${CFLAGS} ${VDE_CFLAGS}" \
%{qemu_target_list} \
${VDE_CONFIG} \
%{qemu_disables}
--
2.39.2
More information about the devel
mailing list