From 7cfcf14e2fdf69affbc6d8110f85a474b5b189a1 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sat, 3 Jul 2021 11:15:25 -0400 Subject: [PATCH] ash: fortify CFLAGS --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- 2.39.2