From: Armaan Bhojwani Date: Mon, 28 Jun 2021 23:43:20 +0000 (-0400) Subject: ash: use clang as CC X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=5cc999cf653403365458cf2ed0fc3a91cc3b301c ash: use clang as CC --- diff --git a/config.org b/config.org index bd14112..4975fed 100644 --- a/config.org +++ b/config.org @@ -930,8 +930,10 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac #+end_src **** Compilation flags #+begin_src shell :tangle ~/.config/ash/ashrc + export CC=clang export CFLAGS="-O3 -pipe -march=native" - export CXXFLAGS="$CFLAGS" + export CXX=clang++ + export CXXFLAGS="$CFLAGS -stdlib=libc++" export MAKEFLAGS="-j$(nproc)" export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig" #+end_src