summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-20 20:00:08 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-20 20:00:08 (GMT)
commit2dee0609685a0a01d7fd65e6a804363c3514087c (patch)
tree7f621eae988378ee776c040a5856e873e41691e1 /Makefile
parentca9be05421ff3b641182ab4063c7c3ac834750b5 (diff)
downloadgit-2dee0609685a0a01d7fd65e6a804363c3514087c.zip
git-2dee0609685a0a01d7fd65e6a804363c3514087c.tar.gz
git-2dee0609685a0a01d7fd65e6a804363c3514087c.tar.bz2
Improve build: add <unistd.h> and use -O2 instead of -O3
(Nobody should use -O3. It just makes bad inlining decisions).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cd299f8..a244b27 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
# break unless your underlying filesystem supports those sub-second times
# (my ext3 doesn't).
-CFLAGS=-g -O3 -Wall
+CFLAGS=-g -O2 -Wall
CC=gcc
AR=ar