[arch-dev-public] RFC: Buildflag updates
4 Mar
2021
4 Mar
'21
11:37 a.m.
Hi, Now we have had some controversy... lets look at some easier RFCs! The first is about additions to build flags. Specifically, our makepkg.conf would look like: #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 -grecord-gcc-switches -fvar-tracking-assignments" For full details and to discuss the changes, please look at: https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/3 Allan
1381
Age (days ago)
1381
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae