Make optimization flag overridable for my compilation
authorJunio C Hamano <junkio@cox.net>
Sat, 21 Jan 2006 06:55:46 +0000 (22:55 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 21 Jan 2006 06:55:46 +0000 (22:55 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
Doit
Make

diff --git a/Doit b/Doit
index 5e14c7c..705e8c4 100755 (executable)
--- 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."
diff --git a/Make b/Make
index 0d978a8..7c8b297 100755 (executable)
--- 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 \
      "$@"