diff options
-rw-r--r-- | build_common/tizen/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build_common/tizen/SConscript b/build_common/tizen/SConscript index f33ec469c..44a1c13ad 100644 --- a/build_common/tizen/SConscript +++ b/build_common/tizen/SConscript @@ -20,9 +20,11 @@ env['CCFLAGS'] = SCons.Util.CLVar(os.environ.get('CFLAGS', "")) env.AppendUnique(CPPDEFINES = ['WITH_POSIX', '__linux__']) env.AppendUnique(CFLAGS = ['-std=gnu99']) env.AppendUnique(CCFLAGS = ['-Wextra', '-fPIC']) +env.AppendUnique(CXXFLAGS = ['-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']) +env.AppendUnique(CXXFLAGS = ['-D__TIZEN__', '-D_GNU_SOURCE', '-DTIZEN_DEBUG_ENABLE','-fstack-protector-strong','-Wl,-z,relro','-D_FORTIFY_SOURCE=2']) env.AppendUnique(LINKFLAGS = ['-Wl,-z,relro']) env.ParseConfig("pkg-config dlog --cflags --libs") if env.get('OIC_SUPPORT_TIZEN_TRACE') == 'True': |