template_setup.py.ed   [plain text]


/^gPreBuildVariants/a
.
/'name'/s/-[^']*'/'/
.+1,/}/-1d
/{/,/^\]/-1d
/root = None/s/root/CC/
/if root is None:/s/root/CC/
/'xcode-select -print-path'/s//'xcrun -find %s' % cfg['CC']/
/root =/s//CC =/
/CC=os.path.join/d
/entry\['cflags'\].*/s//cfg['ARCHFLAGS'] + ' -fPIE -pie'/
/'MACOSX_DEPLOYMENT_TARGET'/d
/os\.system/a
            os.system('strip -Sx "%(dest)s"' % locals())
.
/'main-' + arch/s//'main'/
w