From a9356629bb676c9ad0537421ea7c22182677ba11 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Fri, 26 Feb 2016 07:33:51 +0100 Subject: [PATCH] Uses gcc specific lto-enabled nm wrapper --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07f493b8869..4011fa0d348 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,6 +137,7 @@ if(CMAKE_BUILD_TYPE MATCHES Release) NOT "${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "4.9.0" AND NOT MINGW) message(STATUS "Using gcc specific binutils for LTO.") set(CMAKE_AR "/usr/bin/gcc-ar") + set(CMAKE_NM "/usr/bin/gcc-nm") set(CMAKE_RANLIB "/usr/bin/gcc-ranlib") endif()