commit cb055a993ee944f459909c83c3e92453d3d6566c
parent eaaa3fb74fe03611ca5e1003941241b3b57411e7
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Tue, 12 Jan 2021 16:29:51 -0800
Set CC and MAKEFLAGS environment variables in ~/.profile
By default use the portable C compiler. It is more than twice as
fast as gcc and four times faster than clang, of course I doubt the
programs it produces are quite so efficient.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/profile/.profile b/modules/profile/.profile
@@ -7,6 +7,7 @@ export LOCKER=slock
export PAGER=less
export SHELL=/bin/ksh
export TERMINAL=st
+export CC=pcc
# locations
export XDG_CONFIG_HOME="$HOME/.config/"
@@ -30,3 +31,4 @@ export LESSHISTFILE="/dev/null"
export DATE_FMT="%Y.%m.%d"
export TIME_FMT="%H.%M"
export DATETIME_FMT="$DATE_FMT $TIME_FMT"
+export MAKEFLAGS="CC=${CC}"