Changeset a3de4be


Ignore:
Timestamp:
Mar 31, 2014, 4:53:29 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
512ab15, 584714c
Parents:
4a17757
Message:

wscript: make fat build optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r4a17757 ra3de4be  
    7373            help_str = 'compile in double precision mode',
    7474            help_disable_str = 'compile in single precision mode (default)')
     75    add_option_enable_disable(ctx, 'fat', default = False,
     76            help_str = 'build fat binaries (darwin only)',
     77            help_disable_str = 'do not build fat binaries (default)')
    7578
    7679    ctx.add_option('--with-target-platform', type='string',
     
    103106        ctx.env['cshlib_PATTERN'] = 'lib%s.dll'
    104107
    105     if target_platform == 'darwin':
     108    if target_platform == 'darwin' and ctx.options.enable_fat:
    106109        ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
    107110        ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
Note: See TracChangeset for help on using the changeset viewer.