Removed check-memory-usage flags as that wouldn't work on R5 (it was distributed
without memory checking - you would have to download an extra library to get it). Added the strlcpy() command, since it's not part of the R5 libroot.so. Should now build on R5 as well (not tested). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4670 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2e44755b40
commit
0ec3701b5f
@ -45,7 +45,7 @@ ObjectsDefines
|
||||
# SubDirC++Flags -include /usr/include/stdio.h ;
|
||||
} else {
|
||||
# SubDirC++Flags -include /boot/develop/headers/posix/stdio.h ;
|
||||
SubDirC++Flags $(defines) -DHAVE_READ_POS=1 -fno-builtins -fcheck-memory-usage -D_NO_INLINE_ASM ;
|
||||
SubDirC++Flags $(defines) -DHAVE_READ_POS=1 ;
|
||||
}
|
||||
}
|
||||
|
||||
@ -76,15 +76,21 @@ SimpleTest BootLoaderTest :
|
||||
Stream.cpp
|
||||
BPlusTree.cpp
|
||||
|
||||
# utility functions - Dano has a strlcpy() function in libroot.so, while R5 has not
|
||||
list.c
|
||||
strlcpy.c
|
||||
:
|
||||
: -fno-builtin
|
||||
;
|
||||
|
||||
# Tell Jam where to find the utility sources
|
||||
|
||||
SEARCH on [ FGristFiles list.c ]
|
||||
= [ FDirName $(OBOS_TOP) src kernel core util ] ;
|
||||
|
||||
SEARCH on [ FGristFiles strlcpy.c ]
|
||||
= [ FDirName $(OBOS_TOP) src kernel libroot posix string ] ;
|
||||
|
||||
SEARCH on [ FGristFiles
|
||||
main.cpp vfs.cpp partitions.cpp
|
||||
heap.cpp RootFileSystem.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user