Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    ra341685 r172b1fe  
    8686    ctx.load('gnu_dirs')
    8787
     88    ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra']
     89
    8890    target_platform = Options.platform
    8991    if ctx.options.target_platform:
    9092        target_platform = ctx.options.target_platform
    9193    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']
    9794
    9895    if target_platform not in ['win32', 'win64']:
     
    155152    if ctx.check_cc(fragment = check_c99_varargs,
    156153            type='cstlib',
    157             msg = 'Checking for C99 __VA_ARGS__ macro',
    158             mandatory = False):
     154            msg = 'Checking for C99 __VA_ARGS__ macro'):
    159155        ctx.define('HAVE_C99_VARARGS_MACROS', 1)
    160156
Note: See TracChangeset for help on using the changeset viewer.