[flang-commits] [clang] [flang] [llvm] [clang] Rename CLANG_DEFAULT_PIE_ON_LINUX to CLANG_DEFAULT_PIE (PR #206568)

Fangrui Song via flang-commits flang-commits at lists.llvm.org
Tue Jun 30 22:26:55 PDT 2026


MaskRay wrote:

I introduced CLANG_DEFAULT_PIE_ON_LINUX in https://reviews.llvm.org/D113372. The name ON_LINUX is intentional - PIE as a concept is only used by ELF platforms. A generic CLANG_DEFAULT_PIE wouldn't make sense on some OSes. Many ELF platforms don't need PIE customization like the plethora of Linux distros do.

https://github.com/llvm/llvm-project/pull/206568


More information about the flang-commits mailing list