bare/devel/qemu: Fix building on FreeBSD.

This commit is contained in:
Chris Johns 2018-11-21 16:08:26 +11:00
parent 77a0075303
commit fabe813ec4
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ URL: http://www.gnu.org/software/libtool/
fi
export CFLAGS CFLAGS_FOR_BUILD CC
CC=%{__cc} \
CFLAGS="$SB_CFLAGS" \
./configure \
--build=%{_build} --host=%{_host} \

View File

@ -112,7 +112,7 @@ def load():
#
# Fix the mess iconv is on FreeBSD 10.0.
#
defines['iconv_includes'] = ('none', 'none', '%{_host_includes} %{_host_ldflags}')
defines['iconv_includes'] = ('none', 'none', '%{host_includes} %{host_ldflags}')
#
# On 11.0+ makeinfo and install-info have moved to /usr/local/...