git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e7eb1fd
)
+MAKEFLAGS -j setting
author
lace
<>
Mon, 22 Sep 2008 23:27:14 +0000
(23:27 +0000)
committer
lace
<>
Mon, 22 Sep 2008 23:27:14 +0000
(23:27 +0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
e318e7a
..
fd156ad
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-189,6
+189,12
@@
export HISTFILESIZE="$HISTSIZE"
export GDBHISTFILE="$HOME/.gdb_history"
export CVS_RSH="ssh"
export TZ=":/usr/share/zoneinfo/Europe/Prague"
export GDBHISTFILE="$HOME/.gdb_history"
export CVS_RSH="ssh"
export TZ=":/usr/share/zoneinfo/Europe/Prague"
+MAKEFLAGS=
+cpus="`getconf _NPROCESSORS_ONLN`"
+if [ -n "$cpus" ];then
+ MAKEFLAGS="$MAKEFLAGS -j$[$cpus+1]"
+fi
+unset cpus
# Do not: grep -w "$TERM" /etc/termcap >/dev/null || export TERM=vt220
# as Sun workaround as Debian misses: /etc/termcap
# expects: $uname_p
# Do not: grep -w "$TERM" /etc/termcap >/dev/null || export TERM=vt220
# as Sun workaround as Debian misses: /etc/termcap
# expects: $uname_p