Fix oversized lib size of rcs_client of resource-encapsulation.
authorcoderhyme <jhyo.kim@samsung.com>
Tue, 6 Oct 2015 11:24:35 +0000 (04:24 -0700)
committerUze Choi <uzchoi@samsung.com>
Wed, 7 Oct 2015 07:54:38 +0000 (07:54 +0000)
Caused by a wrong compile flag.
-g is an option for debug mode, it should be excluded for release.

Change-Id: I62d0910b27ac243f4d9b7f560164f0553968120c
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3617
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 803d90cbc721dc2568b1c45be3eba932577776fa)
Reviewed-on: https://gerrit.iotivity.org/gerrit/3673

service/resource-encapsulation/SConscript

index b600739..d82b5f5 100644 (file)
@@ -62,7 +62,7 @@ resourceClient_env.AppendUnique(CPPPATH = [
 resourceClient_env.PrependUnique(LIBS = ['oc', 'rcs_common', 'octbstack','oc_logger'])
 
 if target_os not in ['windows', 'winrt']:
-    resourceClient_env.AppendUnique(CXXFLAGS = ['-O2', '-g', '-Wall', '-fmessage-length=0', '-std=c++0x'])
+    resourceClient_env.AppendUnique(CXXFLAGS = ['-Wall', '-std=c++0x'])
 if target_os == 'linux':
    resourceClient_env.AppendUnique(LIBS = ['pthread'])