[flang-commits] [clang] [flang] [llvm] [clang] Rename CLANG_DEFAULT_PIE_ON_LINUX to CLANG_DEFAULT_PIE (PR #206568)
Carlo Cabrera via flang-commits
flang-commits at lists.llvm.org
Tue Jun 30 19:06:41 PDT 2026
================
@@ -278,7 +278,7 @@ set(PPC_LINUX_DEFAULT_IEEELONGDOUBLE OFF CACHE BOOL
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-gnu" ON)
+option(CLANG_DEFAULT_PIE "Default to -fPIE and -pie on linux-gnu" ON)
----------------
carlocab wrote:
It seems very disruptive to silently rename a CMake variable like this. I'd consider continuing to honour the original spelling (i.e. `CLANG_DEFAULT_PIE_ON_LINUX`) while emitting a deprecation warning.
https://github.com/llvm/llvm-project/pull/206568
More information about the flang-commits
mailing list