Author: Fangrui Song
Date: 2021-12-28T10:49:52-08:00
New Revision: b5d3bbcc9433193351a22b738c7ff4b007cb1e68

URL: 
https://github.com/llvm/llvm-project/commit/b5d3bbcc9433193351a22b738c7ff4b007cb1e68
DIFF: 
https://github.com/llvm/llvm-project/commit/b5d3bbcc9433193351a22b738c7ff4b007cb1e68.diff

LOG: [CMake] Remove unneeded CLANG_DEFAULT_PIE_ON_LINUX canonicalization after 
D115751

Added: 
    

Modified: 
    clang/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
index 00243d8b13b9..69d639fcec1b 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -228,9 +228,6 @@ set(CLANG_SPAWN_CC1 OFF CACHE BOOL
     "Whether clang should use a new process for the CC1 invocation")
 
 option(CLANG_DEFAULT_PIE_ON_LINUX "Default to -fPIE and -pie on Linux" OFF)
-if(CLANG_DEFAULT_PIE_ON_LINUX)
-  set(CLANG_DEFAULT_PIE_ON_LINUX 1)
-endif()
 
 # TODO: verify the values against LangStandards.def?
 set(CLANG_DEFAULT_STD_C "" CACHE STRING


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to