libsolv_build: add support for building on FreeBSD
Also fail immediately when an unsupported platform is encountered.
This commit is contained in:
parent
ee64a0a6db
commit
bbd644b00b
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user