Browse Source

IntelLLVM: Remove unused code

In commit a90d2a9eed (IntelLLVM: Add support for Intel LLVM-based
compilers, 2020-11-02, v3.20.0-rc1~89^2~20) we added a `set()` that is
immediately followed by another `set()` of the same variable.  Remove
the former.

Fixes: #27019
Eisuke Kawashima 3 days ago
parent
commit
0837fb552f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Modules/Platform/Linux-IntelLLVM.cmake

+ 0 - 1
Modules/Platform/Linux-IntelLLVM.cmake

@@ -11,7 +11,6 @@ set(__LINUX_COMPILER_INTEL_LLVM 1)
 macro(__linux_compiler_intel_llvm lang)
   set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-fPIC")
   set(CMAKE_${lang}_COMPILE_OPTIONS_PIE "-fPIE")
-  set(_CMAKE_${lang}_PIE_MAY_BE_SUPPORTED_BY_LINKER NO)
   set(_CMAKE_${lang}_PIE_MAY_BE_SUPPORTED_BY_LINKER YES)
   set(CMAKE_${lang}_LINK_OPTIONS_PIE ${CMAKE_${lang}_COMPILE_OPTIONS_PIE} "-pie")
   set(CMAKE_${lang}_LINK_OPTIONS_NO_PIE "-no-pie")