boot_net: Disable TCP for all archs but ppc
Unbreaks the build until a better solution is found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38485 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4177bfe69f
commit
1f4a2bd985
@ -4,6 +4,11 @@ UsePrivateHeaders kernel [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM)
|
||||
|
||||
SubDirC++Flags -fno-rtti ;
|
||||
|
||||
local tcp = ;
|
||||
if $(TARGET_ARCH) = ppc {
|
||||
tcp = TCP.cpp ;
|
||||
}
|
||||
|
||||
KernelStaticLibrary boot_net :
|
||||
ARP.cpp
|
||||
ChainBuffer.cpp
|
||||
@ -13,7 +18,7 @@ KernelStaticLibrary boot_net :
|
||||
NetStack.cpp
|
||||
RemoteDisk.cpp
|
||||
UDP.cpp
|
||||
TCP.cpp
|
||||
$(tcp)
|
||||
|
||||
: -fno-pic
|
||||
;
|
||||
|
@ -76,6 +76,7 @@ NetStack::Init()
|
||||
if (error != B_OK)
|
||||
return error;
|
||||
|
||||
#ifdef __POWERPC__
|
||||
// TCP service
|
||||
fTCPService = new(nothrow) TCPService(fIPService);
|
||||
if (fTCPService == NULL)
|
||||
@ -83,6 +84,7 @@ NetStack::Init()
|
||||
error = fTCPService->Init();
|
||||
if (error != B_OK)
|
||||
return error;
|
||||
#endif
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user