xref: /haiku/src/system/libroot/posix/string/arch/riscv64/Jamfile (revision e673363df19a9479e524b26b518b576bec44c915)
1SubDir HAIKU_TOP src system libroot posix string arch riscv64 ;
2
3# Optimizations create infinite recursion otherwise.
4SubDirCcFlags -fno-builtin ;
5
6local architectureObject ;
7for architectureObject in [ MultiArchSubDirSetup riscv64 ] {
8	on $(architectureObject) {
9		local architecture = $(TARGET_PACKAGING_ARCH) ;
10
11		UsePrivateSystemHeaders ;
12
13		SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
14
15		MergeObject <$(architecture)>posix_string_arch_$(TARGET_ARCH).o :
16			memcpy.c
17			memset.c
18			;
19	}
20}
21