From: Armaan Bhojwani Date: Sat, 3 Jul 2021 15:15:25 +0000 (-0400) Subject: ash: fortify CFLAGS X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=7cfcf14e2fdf69affbc6d8110f85a474b5b189a1 ash: fortify CFLAGS --- diff --git a/config.org b/config.org index 94f6c64..2a4537d 100644 --- a/config.org +++ b/config.org @@ -969,7 +969,7 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac **** Compilation flags #+begin_src shell :tangle ~/.config/ash/ashrc export CC=clang - export CFLAGS="-O3 -pipe -march=native" + export CFLAGS="-O3 -pipe -march=native -w -D_FORTIFY_SOURCE=1 -fPIE -fPIC" export CXX=clang++ export CXXFLAGS="$CFLAGS -stdlib=libc++" export MAKEFLAGS="-j$(nproc)"