From 1a837b39106d608ae74f49bf5e67b62399e9a3cd Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 11 Jan 2010 21:12:37 +0000 Subject: [PATCH] Tell gcc to produce code for Pentium at least. Doesn't seem to make any difference performancewise though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35017 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index 09e7602601..26ab034e5b 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -322,6 +322,13 @@ switch $(HAIKU_ARCH) { HAIKU_KERNEL_CCFLAGS += -m68020-60 ; HAIKU_KERNEL_C++FLAGS += -m68020-60 ; } + case x86 : + { + HAIKU_CCFLAGS += -march=pentium ; + HAIKU_C++FLAGS += -march=pentium ; + HAIKU_KERNEL_CCFLAGS += -march=pentium ; + HAIKU_KERNEL_C++FLAGS += -march=pentium ; + } } # If the environment variable HAIKU_INCLUDE_PATENTED_CODE is defined, we