Make optimization flag overridable for my compilation
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Jan 20, 2006 at 22:55 UTC
18ea0bf72c0fce404e0ff3f9489b29e8dcc8beea
2 files changed
+3
-3
Doit
+1
-1
index 5e14c7c169..705e8c4b0c 100755
--- a/Doit
+++ b/Doit
@@ -1,6 +1,6 @@
#!/bin/sh
-J='-l 2.5 -j'
+J='-l 1.5 -j'
test -z "$(git diff --cached --name-status)" || {
echo >&2 "Repository unclean."
Make
+2
-2
index 0d978a86ff..7c8b29763e 100755
--- a/Make
+++ b/Make
@@ -7,11 +7,11 @@ LANG=C
LC_CTYPE=C
export PATH LANG LC_CTYPE
-#make prefix=/usr/local \
+: ${O=-O2}
make bindir=$HOME/bin/Linux \
gitexecdir=$HOME/bin/Linux \
PYTHON_PATH=/usr/bin/python2.4 \
- CFLAGS='-O0 -Wall -Wdeclaration-after-statement -g'"$DDD" \
+ CFLAGS="$O -Wall -Wdeclaration-after-statement -g" \
WITH_SEND_EMAIL=YesPlease \
WITH_SVNIMPORT=YesPlease \
"$@"