Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r172b1fe ra341685  
    8686    ctx.load('gnu_dirs')
    8787
    88     ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
    89 
    9088    target_platform = Options.platform
    9189    if ctx.options.target_platform:
    9290        target_platform = ctx.options.target_platform
    9391    ctx.env['DEST_OS'] = target_platform
     92
     93    if 'CL.exe' not in ctx.env.CC[0]:
     94        ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
     95    else:
     96        ctx.env.CFLAGS += ['-Wall']
    9497
    9598    if target_platform not in ['win32', 'win64']:
     
    152155    if ctx.check_cc(fragment = check_c99_varargs,
    153156            type='cstlib',
    154             msg = 'Checking for C99 __VA_ARGS__ macro'):
     157            msg = 'Checking for C99 __VA_ARGS__ macro',
     158            mandatory = False):
    155159        ctx.define('HAVE_C99_VARARGS_MACROS', 1)
    156160
Note: See TracChangeset for help on using the changeset viewer.