Skip to content

Commit

Permalink
Uses gcc specific lto-enabled nm wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-j-h committed Feb 26, 2016
1 parent dab2934 commit a935662
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit a935662

Please sign in to comment.