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