Skip to content

Conversation

MingcongBai
Copy link
Member

This feature is supported by Binutils on amd64, arm64, loongarch64, and ppc64el.

This feature is supported by Binutils on amd64, arm64, loongarch64,
and ppc64el.
-D_FORTIFY_SOURCE requires optimisation (-O) and may cause build failures
if a build system passes only CPPFLAGS but not C/CXXFLAGS (i.e., Binutils
and GCC, and we are not sure if this has caused further silent failures
elsewhere).

Since it would not do much harm to pass our lowest optimisation level on
its own, pass -O2 as part of the AB_FLAGS_FTF condition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant