[arch-dev-public] FC Final Comment Period: Buildflag updates

Allan McRae allan at archlinux.org
Fri Mar 12 00:41:21 UTC 2021


An RFC has now entered Final Comment Period. In 14 days, discussion will
end and the proposal will either be accepted, rejected or withdrawn:

https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/3

Please visit the above link for discussion.


Summary:  Update the buildflags in makepkg.conf to:


#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
         -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS
-Werror=format-security \
         -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
DEBUG_CFLAGS="-g -fvar-tracking-assignments"


More information about the arch-dev-public mailing list