From 18ea0bf72c0fce404e0ff3f9489b29e8dcc8beea Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 20 Jan 2006 22:55:46 -0800 Subject: [PATCH] Make optimization flag overridable for my compilation Signed-off-by: Junio C Hamano --- Doit | 2 +- Make | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 \ "$@" -- 2.11.0