From: Junio C Hamano Date: Sat, 21 Jan 2006 06:55:46 +0000 (-0800) Subject: Make optimization flag overridable for my compilation X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=18ea0bf72c0fce404e0ff3f9489b29e8dcc8beea;p=git.git Make optimization flag overridable for my compilation Signed-off-by: Junio C Hamano --- diff --git a/Doit b/Doit index 5e14c7c1..705e8c4b 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." diff --git a/Make b/Make index 0d978a86..7c8b2976 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 \ "$@"