From 0fcdce909752da039c867042c5955d5bf54523f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 30 Jan 2007 00:47:56 +0000 Subject: [PATCH] Added a HAIKU_BASE_CCFLAGS variable that will be added to all CCFLAGS/C++FLAGS that build Haiku. Uncomment it to define "-pipe" which may speed up your build process a bit if you have enough memory (it's about 25% faster on a test case over here with BeOS). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20015 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index e970dcd95e..e7b2bd4aa8 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -49,14 +49,18 @@ HAIKU_DANO_COMPATIBLE_PLATFORMS = haiku dano ; # haiku target platform settings +#HAIKU_BASE_CCFLAGS ?= -pipe ; + # initial state for flags etc. HAIKU_C++ ?= $(HAIKU_CC) ; HAIKU_LINK = $(HAIKU_CC) ; -HAIKU_LINKFLAGS = ; +HAIKU_LINKFLAGS = $(HAIKU_BASE_CCFLAGS) ; HAIKU_HDRS = [ FStandardHeaders ] ; -HAIKU_CCFLAGS = -nostdinc ; -HAIKU_C++FLAGS = -nostdinc ; +HAIKU_CCFLAGS = $(HAIKU_BASE_CCFLAGS) -nostdinc ; +HAIKU_C++FLAGS = $(HAIKU_BASE_CCFLAGS) -nostdinc ; +HAIKU_KERNEL_CCFLAGS = $(HAIKU_BASE_CCFLAGS) ; +HAIKU_KERNEL_C++FLAGS = $(HAIKU_BASE_CCFLAGS) ; HAIKU_DEFINES = __HAIKU__ ; # analyze the gcc machine spec to determine HAIKU_CPU