bridging: Remove lib/lib64 path as unsupported on clang
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 30 Mar 2017 11:38:52 +0000 (13:38 +0200)
committerTodd Malsbary <todd.malsbary@intel.com>
Wed, 26 Apr 2017 20:16:45 +0000 (20:16 +0000)
I believe they are not used since they are built in in compiler (spec),
especialy on compilation step.

Observed issue on GNU/Linux is:

  clang++-3.5 \
  -o out/linux/x86_64/release/bridging/mpm_client/MPMSampleClient.o \
  -c -std=c++0x -Wall -Wextra -Werror -Os -Wall -Wextra -fPIC -m64 -Llib64 \
  (...) MPMSampleClient.cpp
  clang: error: argument unused during compilation: '-Llib64'

Change-Id: Ifaf6f0b4f67d992392ca60e53a2d8fd54e1051fb
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18421
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ossama Othman <ossama.othman@intel.com>
Reviewed-by: George Nash <george.nash@intel.com>
Reviewed-by: Todd Malsbary <todd.malsbary@intel.com>
(cherry picked from commit 53d888e18973eb5e16a174ea75532bf42a3aa576)
Bug: https://jira.iotivity.org/browse/IOT-1745
Reviewed-on: https://gerrit.iotivity.org/gerrit/19149
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Mats Wichmann <mats@linux.com>
bridging/mpm_client/SConscript

index 16987e9..49af4df 100644 (file)
@@ -44,10 +44,6 @@ mpmclient_env.PrependUnique(CPPPATH = [
 #  Otherwise you will need to prepend LD_LIBRARY_PATH to your execution command.
 mpmclient_env.PrependUnique(LIBS = ['minipluginmanager'])
 
-if target_arch in ['x86_64', 'arm64']:
-    mpmclient_env.AppendUnique(CPPFLAGS = ['-Llib64'])
-else:
-    mpmclient_env.AppendUnique(CPPFLAGS = ['-Llib'])
 mpmclient_env.AppendUnique(LIBS = ['pthread'])
 
 mpmclient_env.AppendUnique(CPPDEFINES = ['TB_LOG'])