[flang-commits] [clang] [flang] [llvm] [clang] Switch to Default PIE on FreeBSD (PR #206139)
Jessica Clarke via flang-commits
flang-commits at lists.llvm.org
Wed Jul 15 04:37:13 PDT 2026
================
@@ -8,6 +8,9 @@
/* Bug report URL. */
#define BUG_REPORT_URL "${BUG_REPORT_URL}"
+/* Default to -fPIE and -pie on FreeBSD. */
+#cmakedefine01 CLANG_DEFAULT_PIE_ON_FREEBSD
----------------
jrtc27 wrote:
I don't see why we should make a config option for it. It exists for Linux because Linux is a kernel and different distros make different choices, but FreeBSD is FreeBSD.
https://github.com/llvm/llvm-project/pull/206139
More information about the flang-commits
mailing list