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
Build systems for native binaries should honor the environment variables CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS and pass them to compiler and linker invocations.
The idea is that it should be easy to enable special build features like Address Sanitizier, or to comply with distribution hardening best practices.
If these variables are set, they should not override critical flags required by the existing build system.
The text was updated successfully, but these errors were encountered:
Build systems for native binaries SHOULD honor the relevant compiler and linker environment variables passed in to them (e.g., CC, CFLAGS, CXX, CXXFLAGS, and LDFLAGS) and pass them to compiler and linker invocations. A build system MAY extend them with additional flags; it SHOULD NOT simply replace provided values with its own.
DETAILS: It should be easy to enable special build features like Address Sanitizier (ASAN), or to comply with distribution hardening best practices (e.g., by easily turning on compiler flags to do so).
Build systems for native binaries should honor the environment variables
CC
,CFLAGS
,CXX
,CXXFLAGS
,LDFLAGS
and pass them to compiler and linker invocations.The idea is that it should be easy to enable special build features like Address Sanitizier, or to comply with distribution hardening best practices.
If these variables are set, they should not override critical flags required by the existing build system.
The text was updated successfully, but these errors were encountered: