[rtems-source-builder commit] bare/devel/qemu: Fix building on FreeBSD.

Chris Johns chrisj at rtems.org
Wed Nov 21 05:08:41 UTC 2018


Module:    rtems-source-builder
Branch:    master
Commit:    fabe813ec42ba8e3f59e1d1b936c66b756100aea
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=fabe813ec42ba8e3f59e1d1b936c66b756100aea

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Nov 21 16:08:26 2018 +1100

bare/devel/qemu: Fix building on FreeBSD.

---

 source-builder/config/libtool-2-1.cfg | 1 +
 source-builder/sb/freebsd.py          | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/source-builder/config/libtool-2-1.cfg b/source-builder/config/libtool-2-1.cfg
index df446b0..ab198a9 100644
--- a/source-builder/config/libtool-2-1.cfg
+++ b/source-builder/config/libtool-2-1.cfg
@@ -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} \
diff --git a/source-builder/sb/freebsd.py b/source-builder/sb/freebsd.py
index e207d00..95bef5f 100644
--- a/source-builder/sb/freebsd.py
+++ b/source-builder/sb/freebsd.py
@@ -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/...



More information about the vc mailing list