Changeset d6001bf


Ignore:
Timestamp:
Jul 15, 2012, 11:09:59 PM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
9ccd89f
Parents:
d81cae3
Message:

wscript: add option to build fat binary on mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rd81cae3 rd6001bf  
    6969    ctx.env['shlib_PATTERN'] = 'lib%s.dll'
    7070
     71  if Options.platform == 'macfat':
     72    ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
     73    ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
     74    ctx.env.CC = 'llvm-gcc-4.2'
     75    ctx.env.LINK_CC = 'llvm-gcc-4.2'
     76
    7177  # check for required headers
    7278  ctx.check(header_name='stdlib.h')
Note: See TracChangeset for help on using the changeset viewer.