xref: /haiku/src/libs/gnu/Jamfile (revision cbe0a0c436162d78cc3f92a305b64918c839d079)
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