Changeset f74912ae in rtems


Ignore:
Timestamp:
Jul 6, 2005, 8:38:05 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6d06a63
Parents:
728e177
Message:

2005-07-06 Ralf Corsepius <ralf.corsepius@…>

  • binutils/binutils.add: Take out -D_FORTIFY_SOURCE from CFLAGS to prevent fortify from rendering ar unusable.
Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/ChangeLog

    r728e177 rf74912ae  
     12005-07-06      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * binutils/binutils.add: Take out -D_FORTIFY_SOURCE from CFLAGS
     4        to prevent fortify from rendering ar unusable.
     5
    162005-07-05      Ralf Corsepius <ralf.corsepius@rtems.org>
    27
  • scripts/binutils/binutils.add

    r728e177 rf74912ae  
    4848%build
    4949  cd build
    50   CFLAGS="$RPM_OPT_FLAGS" \
     50%if "%{binutils_version}" <= "2.16.1"
     51# ar leaks memory - Disable fortify to prevent it from killing ar
     52  OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | sed -e 's/\-Wp,\-D_FORTIFY_SOURCE=[^ ]*//')
     53%else
     54  OPT_FLAGS="$RPM_OPT_FLAGS"
     55%endif
     56  CFLAGS="$OPT_FLAGS" \
    5157  ../binutils-%{binutils_version}/configure \
    5258    --build=%_build --host=%_host \
Note: See TracChangeset for help on using the changeset viewer.