1SubDir HAIKU_TOP src system libroot posix string arch x86 ; 2 3# Optimizations create infinite recursion otherwise. 4SubDirCcFlags -fno-builtin ; 5 6local architectureObject ; 7for architectureObject in [ MultiArchSubDirSetup x86 x86_gcc2 ] { 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 [ MultiArchIfPrimary memcpy.c memset.c : 17 arch_string.S : x86_64 ] 18 ; 19 20 } 21} 22