Skip to content
Snippets Groups Projects
Verified Commit a84bd5de authored by Frederik “Freso” S. Olesen's avatar Frederik “Freso” S. Olesen
Browse files

RFC 26: Add no-omit-frame-pointer flags by default

> This RFC proposes to add -fno-omit-frame-pointer and
> -mno-omit-leaf-frame-pointer to the default compilation flags
> to improve the effectiveness of profiling and debugging tools.

See https://rfc.archlinux.page/0026-fno-omit-frame-pointer/
parent 0f10f032
No related branches found
No related tags found
1 merge request!6Implement Arch Linux RFCs 17, 23, and 26
......@@ -42,12 +42,13 @@ CHOST="x86_64-pc-linux-gnu"
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection"
-fstack-clash-protection -fcf-protection \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
-Wl,-z,pack-relative-relocs"
LTOFLAGS="-flto=auto"
RUSTFLAGS=""
RUSTFLAGS="-Cforce-frame-pointers=yes"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment