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:
@@ -49,14 +49,18 @@ HAIKU_DANO_COMPATIBLE_PLATFORMS = haiku dano ;
|
|||||||
|
|
||||||
# haiku target platform settings
|
# haiku target platform settings
|
||||||
|
|
||||||
|
#HAIKU_BASE_CCFLAGS ?= -pipe ;
|
||||||
|
|
||||||
# initial state for flags etc.
|
# initial state for flags etc.
|
||||||
HAIKU_C++ ?= $(HAIKU_CC) ;
|
HAIKU_C++ ?= $(HAIKU_CC) ;
|
||||||
HAIKU_LINK = $(HAIKU_CC) ;
|
HAIKU_LINK = $(HAIKU_CC) ;
|
||||||
HAIKU_LINKFLAGS = ;
|
HAIKU_LINKFLAGS = $(HAIKU_BASE_CCFLAGS) ;
|
||||||
|
|
||||||
HAIKU_HDRS = [ FStandardHeaders ] ;
|
HAIKU_HDRS = [ FStandardHeaders ] ;
|
||||||
HAIKU_CCFLAGS = -nostdinc ;
|
HAIKU_CCFLAGS = $(HAIKU_BASE_CCFLAGS) -nostdinc ;
|
||||||
HAIKU_C++FLAGS = -nostdinc ;
|
HAIKU_C++FLAGS = $(HAIKU_BASE_CCFLAGS) -nostdinc ;
|
||||||
|
HAIKU_KERNEL_CCFLAGS = $(HAIKU_BASE_CCFLAGS) ;
|
||||||
|
HAIKU_KERNEL_C++FLAGS = $(HAIKU_BASE_CCFLAGS) ;
|
||||||
HAIKU_DEFINES = __HAIKU__ ;
|
HAIKU_DEFINES = __HAIKU__ ;
|
||||||
|
|
||||||
# analyze the gcc machine spec to determine HAIKU_CPU
|
# analyze the gcc machine spec to determine HAIKU_CPU
|
||||||
|
|||||||
Reference in New Issue
Block a user