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 (parent:
e51899f
)
+--fast
author
lace
<>
Thu, 27 Nov 2008 20:55:56 +0000
(20:55 +0000)
committer
lace
<>
Thu, 27 Nov 2008 20:55:56 +0000
(20:55 +0000)
bin/errs1
patch
|
blob
|
history
diff --git
a/bin/errs1
b/bin/errs1
index
715eee0
..
287fbcf
100755
(executable)
--- a/
bin/errs1
+++ b/
bin/errs1
@@
-8,6
+8,7
@@
targets=
configure="./configure"
debug="-ggdb2"
ldflags=""
configure="./configure"
debug="-ggdb2"
ldflags=""
+fast=false
while true
do
while true
do
@@
-16,7
+17,12
@@
do
shift
continue
fi
shift
continue
fi
- if [ "$1" = "-shared" ];then
+ if [ "$1" = "--fast" ];then
+ fast=true
+ shift
+ continue
+ fi
+ if [ "$1" = "--shared" ];then
customss="--disable-static --enable-shared"
shift
continue
customss="--disable-static --enable-shared"
shift
continue
@@
-64,7
+70,7
@@
done
if test -f `dirname $configure`/bfd/elf64-x86-64.c;then
test -f g77 || (test -f /usr/bin/gfortran && ln -s /usr/bin/gfortran g77)
fi
if test -f `dirname $configure`/bfd/elf64-x86-64.c;then
test -f g77 || (test -f /usr/bin/gfortran && ln -s /usr/bin/gfortran g77)
fi
- if test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then
+ if
! $fast &&
test -f `dirname $configure`/bfd/elf64-x86-64.c -a '(' -d CVS -o -d .git ')';then
targets="--enable-targets=all"
ldflags="-lmcheck"
fi
targets="--enable-targets=all"
ldflags="-lmcheck"
fi