env.AppendUnique(CCFLAGS = ['-Wextra', '-fPIC'])
env.AppendUnique(LIBS = ['dl', 'pthread'])
-env.AppendUnique(CCFLAGS = ['-D__TIZEN__', '-D_GNU_SOURCE', '-DTIZEN_DEBUG_ENABLE','-fstack-protector-strong','-Wl,-z,relro','-D_FORTIFY_SOURCE=2','-fPIE,-pie'])
+env.AppendUnique(CCFLAGS = ['-D__TIZEN__', '-D_GNU_SOURCE', '-DTIZEN_DEBUG_ENABLE','-fstack-protector-strong','-Wl,-z,relro','-D_FORTIFY_SOURCE=2','-fPIE','-pie'])
env.ParseConfig("pkg-config dlog --cflags --libs")
if env.get('OIC_SUPPORT_TIZEN_TRACE') == 'True':
env.ParseConfig("pkg-config ttrace --cflags --libs")