Skip to content
Snippets Groups Projects
Commit 44c933da authored by alice's avatar alice Committed by alice
Browse files

default.conf: enable _GLIBCXX_ASSERTIONS

these have a slight runtime hit (like fortify-source), but help find
bugs early, by making programs crash on invariants that would corrupt
memory and lead to hard to debug crashes/bugs later.
parent 861e21fa
No related branches found
No related tags found
1 merge request!205default.conf: enable _GLIBCXX_ASSERTIONS, kill cppflags
Pipeline #166458 passed
export CFLAGS="-Os -Wformat -Werror=format-security"
export CXXFLAGS="-Os -Wformat -Werror=format-security"
export CXXFLAGS="-Os -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1"
export LDFLAGS="-Wl,--as-needed,-O1,--sort-common"
export GOFLAGS="-buildmode=pie -modcacherw -trimpath -buildvcs=false"
# Do note that these should work with at least GDC and LDC
......
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