diff options
author | Chris Johns <chrisj@rtems.org> | 2020-01-21 14:46:16 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2020-01-21 14:46:16 +1100 |
commit | 599c4d7c87fab531014a614f2a32b56be0a3ce28 (patch) | |
tree | e6f5ee14c59aa67a7a3020775770e177e107960d /source-builder/sb/freebsd.py | |
parent | 5: Update rtems-tools (diff) | |
download | rtems-source-builder-599c4d7c87fab531014a614f2a32b56be0a3ce28.tar.bz2 |
freebsd: Fix GDB building on some 12 and higher versions
Diffstat (limited to 'source-builder/sb/freebsd.py')
-rw-r--r-- | source-builder/sb/freebsd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source-builder/sb/freebsd.py b/source-builder/sb/freebsd.py index 8fc7db1..5497e75 100644 --- a/source-builder/sb/freebsd.py +++ b/source-builder/sb/freebsd.py @@ -111,9 +111,11 @@ def load(): if check.check_exe(cvs, cvs): defines['__cvs'] = cvs # - # Fix the mess iconv is on FreeBSD 10.0. + # Fix the mess iconv is on FreeBSD 10.0 and higher. # defines['iconv_includes'] = ('none', 'none', '%{host_includes} %{host_ldflags}') + if fb_version >= 12: + defines['iconv_prefix'] = ('none', 'none', '%{_usr}') # # On 11.0+ makeinfo and install-info have moved to /usr/local/... |