Skip to content

Commit 294dc44

Browse files
committed
Position additional flags the other way around to avoid linking error.
This commit works. Signed-off-by: Artyom Gevorgyan <artemhevorgian@gmail.com>
1 parent 0ca29dd commit 294dc44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ git apply ../fix_qemu_sphinx_warning.patch
1111
git apply ../tweak_linux_config_options.patch
1212

1313
echo 'Successfully applied the required patches. Configuring now...'
14-
14+
# Most importantly, note '--static'
1515
mkdir build-riscv64 && cd build-riscv64
1616
../configure --target-list=riscv64-softmmu --static --audio-drv-list="" --without-default-devices --disable-vnc
1717

1818
echo "Successfully configured. Building now..."
1919
# On my machine, configuration step did not collect all the dependencies
2020
# required to build Qemu. So manually appending them here, even if they
2121
# are present already.
22-
awk -F '=' -i inplace '{ if ($1 == "GIO_LIBS") { print $0 " -luuid -lblkid" } else { print $0 } }' config-host.mak
22+
awk -F '=' -i inplace '{ if ($1 == "GIO_LIBS") { print $0 " -lblkid -luuid" } else { print $0 } }' config-host.mak
2323

2424
make -j4

0 commit comments

Comments
 (0)