summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerABI.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-08-09 12:28:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-08-09 12:28:43 (GMT)
commitb33c9844fa2c3a6fc7e69688d028bb260582561c (patch)
tree06369d0a185f7c3a3a9ab050b4ba1812e89a56d8 /Modules/CMakeDetermineCompilerABI.cmake
parent702f630db8c7e2225b3be9550a4619a47feba1f6 (diff)
downloadCMake-b33c9844fa2c3a6fc7e69688d028bb260582561c.zip
CMake-b33c9844fa2c3a6fc7e69688d028bb260582561c.tar.gz
CMake-b33c9844fa2c3a6fc7e69688d028bb260582561c.tar.bz2
Revert "Add compiler target compile options."
This reverts commit 2d9ec1dadfdd10043a98d425abb25d0aef117699.
Diffstat (limited to 'Modules/CMakeDetermineCompilerABI.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerABI.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/CMakeDetermineCompilerABI.cmake b/Modules/CMakeDetermineCompilerABI.cmake
index e9ae995..5d35ce3 100644
--- a/Modules/CMakeDetermineCompilerABI.cmake
+++ b/Modules/CMakeDetermineCompilerABI.cmake
@@ -28,9 +28,6 @@ function(CMAKE_DETERMINE_COMPILER_ABI lang src)
if(DEFINED CMAKE_${lang}_VERBOSE_FLAG)
set(CMAKE_FLAGS "-DCMAKE_EXE_LINKER_FLAGS=${CMAKE_${lang}_VERBOSE_FLAG}")
endif()
- if(CMAKE_${lang}_COMPILER_TARGET)
- set(CMAKE_FLAGS "${CMAKE_FLAGS} -DCMAKE_${lang}_COMPILER_TARGET=${CMAKE_${lang}_COMPILER_TARGET}")
- endif()
try_compile(CMAKE_${lang}_ABI_COMPILED
${CMAKE_BINARY_DIR} ${src}
CMAKE_FLAGS "${CMAKE_FLAGS}"