Changeset ff91af2 in rtems-source-builder


Ignore:
Timestamp:
Apr 15, 2013, 1:45:00 AM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
2cc7a97
Parents:
255e032
Message:

Add _forced_static to the default.

This is used in the configuration scripts to specify which
libraries you want to be linked as static. For gdb this is
libexpat which is built as part of most build sets.

Location:
source-builder
Files:
2 edited

Legend:

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

    r255e032 rff91af2  
    5959    CFLAGS_FOR_BUILD="-g -O2 -Wall"
    6060  fi
     61  LIBS_STATIC="-lexpat"
    6162  CFLAGS="$SB_OPT_FLAGS" \
    62   LIBS="-static -lexpat -dynamic" \
     63  LIBS="%{_forced_static}" \
    6364  ../gdb-%{gdb_version}/configure \
    6465    --build=%{_build} --host=%{_host} \
  • source-builder/defaults.mc

    r255e032 rff91af2  
    241241      --mandir=%{_mandir} \
    242242      --infodir=%{_infodir}'''
     243
     244# Default package settings
     245_forced_static:     none,         none, '-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic'
     246__xz:                exe,     required, '/usr/bin/xz'
Note: See TracChangeset for help on using the changeset viewer.