Changeset 9ee9a7d in rtems


Ignore:
Timestamp:
Mar 18, 2008, 5:39:28 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.8
Children:
1e2a76e
Parents:
c8ecbf9
Message:

Set CFLAGS_FOR_BUILD and CC for CdnX-builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/build.add

    rc8ecbf9 r9ee9a7d  
    2929  export PATH="%{_bindir}:${PATH}"
    3030%endif
    31 
     31%if "%{_build}" != "%{_host}"
     32  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     33  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
     34%else
    3235  CC="%{__cc} ${RPM_OPT_FLAGS}" \
     36%endif
    3337  ../gcc-%{gcc_pkgvers}/configure \
    3438    --prefix=%{_prefix} \
Note: See TracChangeset for help on using the changeset viewer.