1SubDir HAIKU_TOP src libs gnu ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility gnu ] : true ; 4UsePrivateHeaders shared ; 5 6SubDirCcFlags [ FDefines _GNU_SOURCE=1 ] ; 7SubDirC++Flags [ FDefines _GNU_SOURCE=1 ] ; 8 9local architectureObject ; 10for architectureObject in [ MultiArchSubDirSetup ] { 11 on $(architectureObject) { 12 SharedLibrary [ MultiArchDefaultGristFiles libgnu.so ] : 13 memmem.c 14 qsort.c 15 xattr.cpp 16 ; 17 } 18} 19