Changeset c101fe1 for waflib/Tools/gcc.py
- Timestamp:
- Nov 13, 2013, 1:00:56 PM (10 years ago)
- 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:
- d3066e2
- Parents:
- 54e74f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waflib/Tools/gcc.py
r54e74f0 rc101fe1 3 3 # WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file 4 4 5 import os,sys6 from waflib import Configure,Options,Utils7 5 from waflib.Tools import ccroot,ar 8 6 from waflib.Configure import conf … … 60 58 def gcc_modifier_darwin(conf): 61 59 v=conf.env 62 v['CFLAGS_cshlib']=['-fPIC' ,'-compatibility_version','1','-current_version','1']63 v['LINKFLAGS_cshlib']=['-dynamiclib' ]60 v['CFLAGS_cshlib']=['-fPIC'] 61 v['LINKFLAGS_cshlib']=['-dynamiclib','-Wl,-compatibility_version,1','-Wl,-current_version,1'] 64 62 v['cshlib_PATTERN']='lib%s.dylib' 65 63 v['FRAMEWORKPATH_ST']='-F%s' … … 84 82 v['cshlib_PATTERN']='lib%s.sl' 85 83 @conf 84 def gcc_modifier_openbsd(conf): 85 conf.env.SONAME_ST=[] 86 @conf 86 87 def gcc_modifier_platform(conf): 87 88 gcc_modifier_func=getattr(conf,'gcc_modifier_'+conf.env.DEST_OS,None)
Note: See TracChangeset
for help on using the changeset viewer.