BuildPlatformMain has a new boolean parameter to disable resetting the header search paths.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11546 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1903,9 +1903,16 @@ actions KernelStaticLibraryObjects
|
|||||||
|
|
||||||
rule BuildPlatformMain
|
rule BuildPlatformMain
|
||||||
{
|
{
|
||||||
# Usage BuildPlatformMain <target> : <sources> ;
|
# Usage BuildPlatformMain <target> : <sources> [ : <resetIncludes> ] ;
|
||||||
|
# <target> The executable.
|
||||||
|
# <sources> The sources.
|
||||||
|
# <resetIncludes> "false", if header search dirs shall not be reset to the
|
||||||
|
# platform defaults. Defaults to "true".
|
||||||
|
#
|
||||||
SetupObjectsDir ;
|
SetupObjectsDir ;
|
||||||
SetupDefaultIncludes ;
|
if $(3) != false {
|
||||||
|
SetupDefaultIncludes ;
|
||||||
|
}
|
||||||
|
|
||||||
# Remove `-nostdinc' from CCFLAGS and C++FLAGS.
|
# Remove `-nostdinc' from CCFLAGS and C++FLAGS.
|
||||||
local oldCCFLAGS = $(CCFLAGS) ;
|
local oldCCFLAGS = $(CCFLAGS) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user