Changeset 599c4d7 in rtems-source-builder


Ignore:
Timestamp:
Jan 21, 2020, 3:46:16 AM (5 weeks ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
f81b0a5
Parents:
d48abf4
Message:

freebsd: Fix GDB building on some 12 and higher versions

Location:
source-builder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source-builder/config/gdb-common-1.cfg

    rd48abf4 r599c4d7  
    190190    %define with_python_option --with-python
    191191  %endif
     192%endif
     193
     194#
     195# Fix the mess iconv is on FreeBSD 10.0 and higher.
     196#
     197%if %{defined iconv_prefix}
     198 %define iconv_opts --with-libiconv-prefix=%{iconv_prefix}
     199%else
     200 %define iconv_opts %{nil}
    192201%endif
    193202
     
    240249    --with-expat \
    241250    --with-guile=no \
     251    %{iconv_opts} \
    242252    %{!?without_python:%{with_python_option}} \
    243253    --prefix=%{_prefix} --bindir=%{_bindir} \
  • source-builder/sb/freebsd.py

    rd48abf4 r599c4d7  
    112112            defines['__cvs'] = cvs
    113113        #
    114         # Fix the mess iconv is on FreeBSD 10.0.
     114        # Fix the mess iconv is on FreeBSD 10.0 and higher.
    115115        #
    116116        defines['iconv_includes'] = ('none', 'none', '%{host_includes} %{host_ldflags}')
     117        if fb_version >= 12:
     118            defines['iconv_prefix'] = ('none', 'none', '%{_usr}')
    117119
    118120        #
Note: See TracChangeset for help on using the changeset viewer.