lower warning level, fix linking on R5

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8103 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2004-06-21 20:45:50 +00:00
parent c6d5ab3cb4
commit 209b374efe
4 changed files with 20 additions and 1 deletions

View File

@ -1,4 +1,11 @@
SubDir OBOS_TOP src apps bin coreutils-5.0 ;
# filter warnings we don't want here
local originalCCFlags = $(CCFLAGS) ;
CCFLAGS = [ Filter $(CCFLAGS) : -Wall -Wmissing-prototypes -Wsign-compare ] ;
SubInclude OBOS_TOP src apps bin coreutils-5.0 lib ;
SubInclude OBOS_TOP src apps bin coreutils-5.0 src ;
# restore CCFLAGS
CCFLAGS = $(originalCCFlags) ;

View File

@ -27,7 +27,7 @@ StaticLibrary fetish :
euidaccess.c
exclude.c
exitfail.c
# fchdir-stub.c
fchdir-stub.c
# fchown-stub.c
file-type.c
# fileblocks.c

View File

@ -1,6 +1,13 @@
SubDir OBOS_TOP src apps bin findutils ;
# filter warnings we don't want here
local originalCCFlags = $(CCFLAGS) ;
CCFLAGS = [ Filter $(CCFLAGS) : -Wall -Wmissing-prototypes -Wsign-compare ] ;
SubInclude OBOS_TOP src apps bin findutils lib ;
SubInclude OBOS_TOP src apps bin findutils find ;
SubInclude OBOS_TOP src apps bin findutils locate ;
SubInclude OBOS_TOP src apps bin findutils xargs ;
# restore CCFLAGS
CCFLAGS = $(originalCCFlags) ;

View File

@ -136,7 +136,12 @@
/* #undef ino_t */
/* Define if you have the fchdir function. */
#ifndef B_BEOS_VERSION
#include <BeBuild.h>
#endif
#if B_BEOS_VERSION > B_BEOS_VERSION_5
#define HAVE_FCHDIR 1
#endif
/* Define if you have the getcwd function. */
#define HAVE_GETCWD 1