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:
parent
92ba8215d2
commit
8dc98d6d85
11
Jamrules
11
Jamrules
@ -1903,9 +1903,16 @@ actions KernelStaticLibraryObjects
|
||||
|
||||
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 ;
|
||||
SetupDefaultIncludes ;
|
||||
if $(3) != false {
|
||||
SetupDefaultIncludes ;
|
||||
}
|
||||
|
||||
# Remove `-nostdinc' from CCFLAGS and C++FLAGS.
|
||||
local oldCCFLAGS = $(CCFLAGS) ;
|
||||
|
Loading…
Reference in New Issue
Block a user