rc is a build platform tool and should be built as such.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# paths of helper commands
|
# paths of helper commands
|
||||||
rc=$sourceDir/distro/${arch}.R1/beos/bin/rc
|
rc=$sourceDir/objects/${arch}.R1/tools/rc/rc
|
||||||
resattr=$sourceDir/objects/${arch}.R1/tools/resattr/resattr
|
resattr=$sourceDir/objects/${arch}.R1/tools/resattr/resattr
|
||||||
fsShellCommand=$sourceDir/objects/${arch}.R1/tests/add-ons/kernel/file_systems/fs_shell/fs_shell_command
|
fsShellCommand=$sourceDir/objects/${arch}.R1/tests/add-ons/kernel/file_systems/fs_shell/fs_shell_command
|
||||||
bfsShell=$sourceDir/objects/${arch}.R1/tests/add-ons/kernel/file_systems/bfs/bfs_shell/bfs_shell
|
bfsShell=$sourceDir/objects/${arch}.R1/tests/add-ons/kernel/file_systems/bfs/bfs_shell/bfs_shell
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ SubDirC++Flags -Wno-sign-compare -Wno-unused ;
|
|||||||
StaticLibrary rdef :
|
StaticLibrary rdef :
|
||||||
compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ;
|
compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ;
|
||||||
|
|
||||||
BinCommand rc :
|
BuildPlatformMain rc :
|
||||||
rc.cpp
|
rc.cpp
|
||||||
|
|
||||||
# these two are needed for R5 only
|
# these two are needed for R5 only
|
||||||
strlcpy.c
|
strlcpy.c
|
||||||
strlcat.c
|
strlcat.c
|
||||||
: librdef.a libstdc++.r4.so libbe.so
|
;
|
||||||
;
|
LinkSharedOSLibs rc : librdef.a $(BUILD_LIBSTDC++) be ;
|
||||||
|
|
||||||
SEARCH on [ FGristFiles
|
SEARCH on [ FGristFiles
|
||||||
strlcat.c strlcpy.c
|
strlcat.c strlcpy.c
|
||||||
|
|||||||
@@ -43,6 +43,12 @@ static char sOutputFile[B_PATH_NAME_LENGTH] = { 0 };
|
|||||||
static char *sFirstInputFile = NULL;
|
static char *sFirstInputFile = NULL;
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef __HAIKU__
|
||||||
|
extern "C" size_t strlcat(char *dest, const char *source, size_t length);
|
||||||
|
extern "C" size_t strlcpy(char *dest, const char *source, size_t length);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
warn(const char *format, ...)
|
warn(const char *format, ...)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user