[rtems-source-builder commit] qemu: Update CFLAGS and LDFLAGS overrides
Joel Sherrill
joel at rtems.org
Mon Feb 5 04:54:52 UTC 2024
Module: rtems-source-builder
Branch: master
Commit: 08a73975aef3cfa719bdbdeb1f45a55deb41acd8
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=08a73975aef3cfa719bdbdeb1f45a55deb41acd8
Author: Kinsey Moore <kinsey.moore at oarcorp.com>
Date: Tue Jan 30 14:04:36 2024 -0600
qemu: Update CFLAGS and LDFLAGS overrides
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}
More information about the vc
mailing list