Changeset e6a4bc5 in rtems-tools


Ignore:
Timestamp:
12/16/21 21:32:10 (8 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
5
Children:
04d6aa3
Parents:
161ccd0
Message:

misc/wscript trace/wscript: Add -std=c99 to CFLAGS

CentOS 7 has gcc 4.8.5 which defaults to C90.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • misc/wscript

    r161ccd0 re6a4bc5  
    5353    conf['optflags'] = bld.env.C_OPTS
    5454    conf['cflags'] = ['-pipe', '-g'] + conf['optflags']
     55    conf['cflags'] = ['-std=c99'] + conf['cflags']
    5556    conf['linkflags'] = ['-g']
    5657
  • trace/wscript

    r161ccd0 re6a4bc5  
    6666        cxxstd = '-std=c++14'
    6767    conf['cxxflags'] = [cxxstd] + conf['cflags']
     68    conf['cflags'] = ['-std=c99'] + conf['cflags']
    6869    conf['linkflags'] = ['-g']
    6970    conf['lib'] = []
Note: See TracChangeset for help on using the changeset viewer.