Changeset 1354 for portaudio/branches/v19-devel/SConstruct
- Timestamp:
- 02/21/08 15:42:43 (10 months ago)
- Files:
-
- 1 modified
-
portaudio/branches/v19-devel/SConstruct (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
portaudio/branches/v19-devel/SConstruct
r1278 r1354 37 37 # Determine parameters to build tools 38 38 if Platform in Posix: 39 baseLinkFlags = threadCFlags = "-pthread" 39 threadCFlags = '' 40 if Platform != 'darwin': 41 threadCFlags = "-pthread " 42 baseLinkFlags = threadCFlags 40 43 baseCxxFlags = baseCFlags = "-Wall -pedantic -pipe " + threadCFlags 41 44 debugCxxFlags = debugCFlags = "-g" 42 45 optCxxFlags = optCFlags = "-O2" 43 env ["CCFLAGS"] = baseCFlags.split()44 env ["CXXFLAGS"] = baseCxxFlags.split()45 env ["LINKFLAGS"] = baseLinkFlags.split()46 env.Append(CCFLAGS = baseCFlags) 47 env.Append(CXXFLAGS = baseCxxFlags) 48 env.Append(LINKFLAGS = baseLinkFlags) 46 49 if env["enableDebug"]: 47 50 env.AppendUnique(CCFLAGS=debugCFlags.split()) … … 181 184 182 185 # Define the builder for the config header 183 env.Append(BUILDERS={"portaudioConfig": env.Builder( action=Action(buildConfigH,184 "generating '$TARGET'"), target_factory=env.fs.File,)})186 env.Append(BUILDERS={"portaudioConfig": env.Builder( 187 action=Action(buildConfigH), target_factory=env.fs.File)}) 185 188 186 189 confH = env.portaudioConfig(File("portaudio_config.h", "include"),
