You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Distros often have a standard, custom, set of flags that should be passed to all compiler invocations when building the binaries distributed as packages for that platform (think things like hardening options). For example, Debian wants to pass -Wl,-z,relro during the link step.
To support this, every compiler invocation in the makefile needs to include the appropriate CFLAGS, CXXFLAGS, LDFLAGS, or RUSTFLAGS variable. See the [Debian patch for guidance][debian-make].
Distros often have a standard, custom, set of flags that should be passed to all compiler invocations when building the binaries distributed as packages for that platform (think things like hardening options). For example, Debian wants to pass
-Wl,-z,relro
during the link step.To support this, every compiler invocation in the makefile needs to include the appropriate
CFLAGS
,CXXFLAGS
,LDFLAGS
, orRUSTFLAGS
variable. See the [Debian patch for guidance][debian-make].re https://internals.rust-lang.org/t/perfecting-rust-packaging-the-plan/2767
The text was updated successfully, but these errors were encountered: