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)
Sat, Oct 25, 2:01 PM
Unknown Object (File)
Fri, Oct 17, 1:07 PM
Unknown Object (File)
Fri, Oct 17, 1:07 PM
Unknown Object (File)
Fri, Oct 17, 1:07 PM
Unknown Object (File)
Fri, Oct 17, 3:58 AM
Unknown Object (File)
Oct 7 2025, 1:26 AM
Unknown Object (File)
Sep 29 2025, 2:20 AM
Unknown Object (File)
Sep 24 2025, 2:53 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