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
This commit is contained in:
Axel Dörfler
2007-01-30 00:47:56 +00:00
parent b2f8cb2ef4
commit 0fcdce9097
+7 -3
View File
@@ -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