Changeset 5e1c04f


Ignore:
Timestamp:
Mar 22, 2013, 4:24:10 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:
b712146
Parents:
163c679
Message:

wscript: define TARGET_OS_IPHONE 1 and add armv7s to ios

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r163c679 r5e1c04f  
    7878    ctx.env.LD = 'clang'
    7979    ctx.env.LINK_CC = 'clang'
     80    ctx.define('TARGET_OS_IPHONE', 1)
    8081    SDKVER="6.1"
    8182    DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer"
    8283    SDKROOT="%(DEVROOT)s/SDKs/iPhoneOS%(SDKVER)s.sdk" % locals()
    8384    ctx.env.FRAMEWORK = ['CoreFoundation', 'AudioToolbox']
    84     ctx.env.CFLAGS += [ '-miphoneos-version-min=6.1', '-arch', 'armv7',
     85    ctx.env.CFLAGS += [ '-miphoneos-version-min=6.1', '-arch', 'armv7', '-arch', 'armv7s',
    8586            '--sysroot=%s' % SDKROOT]
    86     ctx.env.LINKFLAGS += ['-std=c99', '-arch', 'armv7', '--sysroot=%s' %
     87    ctx.env.LINKFLAGS += ['-std=c99', '-arch', 'armv7', '-arch', 'armv7s', '--sysroot=%s' %
    8788            SDKROOT]
    8889
Note: See TracChangeset for help on using the changeset viewer.