SubDir HAIKU_TOP src system libroot posix string arch riscv64 ; # Optimizations create infinite recursion otherwise. SubDirCcFlags -fno-builtin ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup riscv64 ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UsePrivateSystemHeaders ; SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; MergeObject <$(architecture)>posix_string_arch_$(TARGET_ARCH).o : memcpy.c memset.c ; } }