impala-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tarmstr...@apache.org
Subject [37/50] [abbrv] incubator-impala git commit: IMPALA-3484: Use the linker from the toolchain
Date Thu, 12 May 2016 22:10:12 GMT
IMPALA-3484: Use the linker from the toolchain

Change-Id: Idf1db88c48ad18521d69903838d33cdb6f45b0fa
Reviewed-on: http://gerrit.cloudera.org:8080/2983
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Tested-by: Internal Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/30cc3f5a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/30cc3f5a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/30cc3f5a

Branch: refs/heads/master
Commit: 30cc3f5ae0cb5565b041d705e816264b9754d213
Parents: 12097a0
Author: Jim Apple <jbapple@cloudera.com>
Authored: Thu May 5 11:12:56 2016 -0700
Committer: Tim Armstrong <tarmstrong@cloudera.com>
Committed: Thu May 12 14:18:00 2016 -0700

----------------------------------------------------------------------
 be/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/30cc3f5a/be/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index 7b751c4..0b49e32 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -45,6 +45,10 @@ IF($ENV{USE_GOLD_LINKER} STREQUAL "true")
   SET(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -Wl,-fuse-ld=gold")
 ENDIF()
 
+if (IMPALA_TOOLCHAIN)
+  SET(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -B $ENV{IMPALA_TOOLCHAIN}/binutils-$ENV{IMPALA_BINUTILS_VERSION}/bin/")
+endif()
+
 # On Apple we build with clang and need libstdc++ instead of libc++
 if (APPLE)
   SET(CXX_COMMON_FLAGS "${CXX_COMMON_FLAGS} -stdlib=libstdc++")


Mime
View raw message