mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 17:31:57 +08:00
bootstrap: remove dead branches
Remove code that uses cmake_cxx_compiler_is_gnu before it is set.
This commit is contained in:
10
bootstrap
10
bootstrap
@@ -855,16 +855,6 @@ if ${cmake_system_haiku}; then
|
|||||||
cmake_ld_flags="${LDFLAGS} -lroot -lbe"
|
cmake_ld_flags="${LDFLAGS} -lroot -lbe"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Workaround for short jump tables on PA-RISC
|
|
||||||
if ${cmake_machine_parisc}; then
|
|
||||||
if ${cmake_c_compiler_is_gnu}; then
|
|
||||||
cmake_c_flags="${CFLAGS} -mlong-calls"
|
|
||||||
fi
|
|
||||||
if ${cmake_cxx_compiler_is_gnu}; then
|
|
||||||
cmake_cxx_flags="${CXXFLAGS} -mlong-calls"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# Detect known toolchains on some platforms.
|
# Detect known toolchains on some platforms.
|
||||||
cmake_toolchains=''
|
cmake_toolchains=''
|
||||||
|
Reference in New Issue
Block a user