Page MenuHomeFreeBSD

Features/ssp.mk: Do not pass -fstack-protector as LDFLAGS
ClosedPublic

Authored by arrowd on Jul 1 2025, 4:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 3, 7:19 AM
Unknown Object (File)
Mon, Jun 29, 10:08 PM
Unknown Object (File)
Sat, Jun 13, 7:20 PM
Unknown Object (File)
Jun 2 2026, 8:22 PM
Unknown Object (File)
May 19 2026, 9:23 PM
Unknown Object (File)
May 18 2026, 7:34 PM
Unknown Object (File)
May 14 2026, 6:45 PM
Unknown Object (File)
May 5 2026, 8:13 AM
Subscribers
None

Details

Summary

This isn't really a linker flag and worked only because C/C++ compiler is
usually used as linker.

This is backed by my own study of LLVM's code as well as this reply from
Flang's dev: https://discourse.llvm.org/t/flang-working-as-linker/87133/5

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable