extlibs: Removing redundant configuration 41/21441/11
authorPawel Winogrodzki <pawelwi@microsoft.com>
Thu, 6 Jul 2017 23:50:37 +0000 (16:50 -0700)
committerMats Wichmann <mats@linux.com>
Sun, 27 Aug 2017 13:36:06 +0000 (13:36 +0000)
Moving global environment configuration common for all
platforms into build_common/SConscript and removing repeated
lines from extlibs/*.

Bug: https://jira.iotivity.org/browse/IOT-1583
Change-Id: Iacd5905d3c221d3d1a142f08a5ea61a899ad08b1
Signed-off-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21299
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
(cherry picked from commit 038ec8e2d700d06722c9db43b41b8c534deb42ce)
Reviewed-on: https://gerrit.iotivity.org/gerrit/21441
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
Reviewed-by: Mats Wichmann <mats@linux.com>
extlibs/libcoap/SConscript

index 6999320..ec545a7 100644 (file)
@@ -144,12 +144,6 @@ if target_os in ['linux', 'tizen', 'android', 'arduino']:
 if target_os == 'arduino':
     libcoap_env.AppendUnique(CPPDEFINES=['NDEBUG', 'WITH_ARDUINO'])
 
-if target_os in ['darwin', 'ios']:
-    libcoap_env.AppendUnique(CPPDEFINES=['_DARWIN_C_SOURCE'])
-
-if env.get('LOGGING') == '1':
-    libcoap_env.AppendUnique(CPPDEFINES=['TB_LOG'])
-
 ######################################################################
 # Source files and Target(s)
 ######################################################################