summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-15 19:48:45 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-15 19:48:45 (GMT)
commit6fdcf02aafe1d3c64a4cce0b852685a6dde88a10 (patch)
tree75faa9311565fd30c4ed72789fa79187f1e13cc7
parent8ebd590b211c26ea9a35a33d6f019e1909e0283c (diff)
downloadCMake-6fdcf02aafe1d3c64a4cce0b852685a6dde88a10.zip
CMake-6fdcf02aafe1d3c64a4cce0b852685a6dde88a10.tar.gz
CMake-6fdcf02aafe1d3c64a4cce0b852685a6dde88a10.tar.bz2
bootstrap: remove dead branches
Remove code that uses cmake_cxx_compiler_is_gnu before it is set.
-rwxr-xr-xbootstrap10
1 files changed, 0 insertions, 10 deletions
diff --git a/bootstrap b/bootstrap
index 9d73233..7304908 100755
--- a/bootstrap
+++ b/bootstrap
@@ -855,16 +855,6 @@ if ${cmake_system_haiku}; then
cmake_ld_flags="${LDFLAGS} -lroot -lbe"
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.
cmake_toolchains=''