1 # Factorize pthread configurations in single file
6 target_os = thread_env.get('TARGET_OS')
8 # Export flags once for all
9 compiler = thread_env.get('CC')
11 thread_env.AppendUnique(CFLAGS = ['-Wall'])
12 if target_os not in ['android']:
13 thread_env.AppendUnique(CFLAGS = ['-pthread'])
14 thread_env.AppendUnique(LIBS = ['pthread'])