Don't include HaikuBuildCompatibility.h in the [b]fs_shell build. It's not
needed -- the code has its own complete platform abstraction layer -- and only causes problems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34270 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5155f7ac75
commit
0bab2e8af4
@ -2,6 +2,9 @@ SubDir HAIKU_TOP src tools bfs_shell ;
|
|||||||
|
|
||||||
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ;
|
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ;
|
||||||
|
|
||||||
|
# prevent inclusion of HaikuBuildCompatibility.h
|
||||||
|
DEFINES += HAIKU_BUILD_COMPATIBILITY_H ;
|
||||||
|
|
||||||
# set some additional defines
|
# set some additional defines
|
||||||
{
|
{
|
||||||
local defines =
|
local defines =
|
||||||
|
@ -14,9 +14,10 @@ if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
|||||||
UsePrivateHeaders fs_shell ;
|
UsePrivateHeaders fs_shell ;
|
||||||
UsePrivateHeaders shared ;
|
UsePrivateHeaders shared ;
|
||||||
|
|
||||||
local defines = [ FDefines FS_SHELL=1 ] ;
|
DEFINES += FS_SHELL=1 ;
|
||||||
SubDirCcFlags $(defines) ;
|
|
||||||
SubDirC++Flags $(defines) ;
|
# prevent inclusion of HaikuBuildCompatibility.h
|
||||||
|
DEFINES += HAIKU_BUILD_COMPATIBILITY_H ;
|
||||||
|
|
||||||
# platform specific sources/libraries
|
# platform specific sources/libraries
|
||||||
local fsShellCommandSources ;
|
local fsShellCommandSources ;
|
||||||
|
Loading…
Reference in New Issue
Block a user