diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2019-11-11 13:43:33 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2019-11-11 13:43:33 +0900 |
commit | b9feb4843944a1b8e48db1bb20fd0c5a535c3d75 (patch) | |
tree | 15b31dba024f1825ed0ce785f2c5535dd230d99c | |
parent | ea90539a79818eb66eae4d3407afa2748f05998e (diff) | |
download | iotivity-submit/tizen/20191112.082050.tar.gz iotivity-submit/tizen/20191112.082050.tar.bz2 iotivity-submit/tizen/20191112.082050.zip |
Add missing compile secure option in CXXFLAGSsubmit/tizen/20191112.082050accepted/tizen/unified/20191112.125129
Change-Id: I1f162580ca001bd83532c459e78ae1fd3473f2fb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-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': |