Changeset e5abdec in rtems-source-builder


Ignore:
Timestamp:
03/09/23 03:28:55 (12 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
7153c2f
Parents:
bfed514
git-author:
Chris Johns <chrisj@…> (03/09/23 03:28:55)
git-committer:
Chris Johns <chrisj@…> (03/09/23 04:45:18)
Message:

6/gdb: fix building on FreeBSD 13.1

See https://sourceware.org/bugzilla/show_bug.cgi?id=30214

Closes #4872

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems/config/tools/rtems-gdb-13.1.cfg

    rbfed514 re5abdec  
    1111   5lBU/7wDV+7tSxfh7cXvRapzyd3zsSEGUePYWVduJ8HSeyZoAP4mMo7aWIV0VczYYy9AAM/F9j+QhUCWKQGHyg==
    1212
     13%patch add gdb -p0 --rsb-file=gdb-13-freebsd-include.diff https://sourceware.org/bugzilla/attachment.cgi?id=14742
     14%hash sha512 gdb-13-freebsd-include.diff \
     15   2oKUpRyZIwXwyKHXn5lxXte+jV853Zvg5UHLKLfmVCW4QLrLMFsnO5LvPamIqjXnqPztB8IPEY18pdw8vOYaOw==
     16
    1317%include %{_configdir}/gdb-common-1.cfg
  • source-builder/sb/freebsd.py

    rbfed514 re5abdec  
    102102            if check.check_exe(cxx, cxx):
    103103                raise error.general('no valid c++ found')
    104         #
    105         # Assume the compiler is clang and so we need to increase
    106         # bracket depth build build the gcc ARM compiler.
    107         #
    108         defines['build_cflags'] = '-O2 -pipe -fbracket-depth=1024'
    109         defines['build_cxxflags'] = '-O2 -pipe -fbracket-depth=1024'
    110104        cvs = 'cvs'
    111105        if check.check_exe(cvs, cvs):
    112106            defines['__cvs'] = cvs
     107        defines['build_cflags'] = '-O2 -pipe'
     108        defines['build_cxxflags'] = '-O2 -pipe'
     109        if fb_version <= 12:
     110            #
     111            # Assume the compiler is clang and so we need to increase
     112            # bracket depth build build the gcc ARM compiler.
     113            #
     114            defines['build_cflags'] += ' -fbracket-depth=1024'
     115            defines['build_cxxflags'] += ' -fbracket-depth=1024'
    113116        #
    114117        # Fix the mess iconv is on FreeBSD 10.0 and higher.
     
    117120        if fb_version >= 12:
    118121            defines['iconv_prefix'] = ('none', 'none', '%{_usr}')
    119 
    120122        #
    121123        # On 11.0+ makeinfo and install-info have moved to /usr/local/...
Note: See TracChangeset for help on using the changeset viewer.