From 0ec3701b5fcf8a6d826764a32fab556dc8a68101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 13 Sep 2003 01:13:27 +0000 Subject: [PATCH] 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 --- src/tests/kernel/boot/loader/Jamfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tests/kernel/boot/loader/Jamfile b/src/tests/kernel/boot/loader/Jamfile index b34ff9918d..b52575390a 100644 --- a/src/tests/kernel/boot/loader/Jamfile +++ b/src/tests/kernel/boot/loader/Jamfile @@ -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