Changeset 2e34d125 in rtems


Ignore:
Timestamp:
Nov 4, 2008, 7:53:37 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 5, master
Children:
81f386b
Parents:
1f8ac4a
Message:

Filter out -std=gnu99 from CFLAGS.

File:
1 edited

Legend:

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

    r1f8ac4a r2e34d125  
    3333  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
    3434%else
    35   CC="%{__cc} ${RPM_OPT_FLAGS}" \
     35# gcc is not ready to be compiled with -std=gnu99
     36  CC=$(echo "%{__cc} ${RPM_OPT_FLAGS}" | sed -e 's,-std=gnu99 ,,') \
    3637%endif
    3738  ../gcc-%{gcc_pkgvers}/configure \
Note: See TracChangeset for help on using the changeset viewer.