From 2dee0609685a0a01d7fd65e6a804363c3514087c Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 20 Apr 2005 13:00:08 -0700 Subject: [PATCH] Improve build: add and use -O2 instead of -O3 (Nobody should use -O3. It just makes bad inlining decisions). --- Makefile | 2 +- cache.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cd299f850..a244b27ac 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 diff --git a/cache.h b/cache.h index eab355da5..a67b79e97 100644 --- a/cache.h +++ b/cache.h @@ -1,6 +1,7 @@ #ifndef CACHE_H #define CACHE_H +#include #include #include #include -- 2.26.2