summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-03-25 02:50:53 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-03-25 02:50:53 +0100
commit1e8fb62a0e33e969a4abf06f92fe801e772d572b (patch)
tree534c34c51447ee454fbf0a5f86b775ffaa1e5b0f /cmake
parent6bc0ca2f2858271feb36d58ae077bad24a996bed (diff)
downloadfastd-1e8fb62a0e33e969a4abf06f92fe801e772d572b.tar
fastd-1e8fb62a0e33e969a4abf06f92fe801e772d572b.zip
Remove gcc-{ar,nm,ranlib} hack
If a GCC version is used which requires the GCC-specific binutils for LTO, they should rather be provided explicitly.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeFindBinUtils.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/cmake/CMakeFindBinUtils.cmake b/cmake/CMakeFindBinUtils.cmake
deleted file mode 100644
index 753577a..0000000
--- a/cmake/CMakeFindBinUtils.cmake
+++ /dev/null
@@ -1,7 +0,0 @@
-if(CMAKE_COMPILER_IS_GNUCC)
- find_program(CMAKE_AR NAMES ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ar HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
- find_program(CMAKE_NM NAMES ${_CMAKE_TOOLCHAIN_PREFIX}gcc-nm HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
- find_program(CMAKE_RANLIB NAMES ${_CMAKE_TOOLCHAIN_PREFIX}gcc-ranlib HINTS ${_CMAKE_TOOLCHAIN_LOCATION})
-endif(CMAKE_COMPILER_IS_GNUCC)
-
-include(${CMAKE_ROOT}/Modules/CMakeFindBinUtils.cmake)