libsolv_build: add support for building on FreeBSD

Also fail immediately when an unsupported platform is encountered.
This commit is contained in:
Ingo Weinhold 2013-07-06 02:15:39 +02:00
parent ee64a0a6db
commit bbd644b00b
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ switch $(HOST_PLATFORM) {
DEFINES += HAVE_STRCHRNUL HAVE_QSORT_R HAVE_FOPENCOOKIE ;
case haiku_host :
DEFINES += HAVE_FOPENCOOKIE ;
case freebsd :
DEFINES += HAVE_FUNOPEN ;
case * :
Exit $(SUBDIR)/Jamfile: "Please add a case for your platform"
"($(HOST_PLATFORM))!" ;
}
SubDirCcFlags -Wno-sign-compare -Wno-missing-prototypes ;