some configury hidden inside the Makefile uses -Werror... on libusb1
headers, which are not really clean (uses bad preprocessor magic), so to detect it and finish building with clang, turning off -Werror is the simplest way.
This commit is contained in:
parent
66485d2269
commit
9db28f77b9
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2016/07/06 21:08:57 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2017/05/03 23:22:19 espie Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
@ -26,7 +26,7 @@ BUILD_DEPENDS= sysutils/pciutils:patch
|
||||
RUN_DEPENDS= sysutils/dmidecode
|
||||
LIB_DEPENDS= devel/libusb-compat \
|
||||
devel/libftdi
|
||||
MAKE_FLAGS= LDFLAGS="-L./pciutils/lib"
|
||||
MAKE_FLAGS= LDFLAGS="-L./pciutils/lib" WARNERROR=no
|
||||
FAKE_FLAGS= PREFIX="${TRUEPREFIX}" MANDIR="${TRUEPREFIX}/man"
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
Loading…
Reference in New Issue
Block a user