target_os = env.get('TARGET_OS')
if target_os == 'android':
liboc_logger_env.AppendUnique(CXXFLAGS = ['-frtti', '-fexceptions'])
- liboc_logger_env.AppendUnique(LIBS = ['gnustl_static', 'log'])
+ liboc_logger_env.AppendUnique(LIBS = ['gnustl_shared', 'log'])
if target_os not in ['arduino', 'windows', 'winrt']:
- liboc_logger_env.AppendUnique(CFLAGS = ['-Wall', '-std=c99', '-fPIC'])
- liboc_logger_env.AppendUnique(CXXFLAGS = ['-Wall', '-fPIC'])
+ liboc_logger_env.AppendUnique(CCFLAGS = ['-Wall'])
######################################################################
# Source files and Targets