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:
Ingo Weinhold
2005-07-03 16:47:26 +00:00
parent b6257a8b3c
commit ea6253d0ba
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ else
fi
# 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
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
+3 -3
View File
@@ -7,14 +7,14 @@ SubDirC++Flags -Wno-sign-compare -Wno-unused ;
StaticLibrary rdef :
compile.cpp decompile.cpp lexer.l parser.y rdef.cpp ;
BinCommand rc :
BuildPlatformMain rc :
rc.cpp
# these two are needed for R5 only
strlcpy.c
strlcat.c
: librdef.a libstdc++.r4.so libbe.so
;
;
LinkSharedOSLibs rc : librdef.a $(BUILD_LIBSTDC++) be ;
SEARCH on [ FGristFiles
strlcat.c strlcpy.c
+6
View File
@@ -43,6 +43,12 @@ static char sOutputFile[B_PATH_NAME_LENGTH] = { 0 };
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
warn(const char *format, ...)
{