summaryrefslogtreecommitdiffstats
path: root/lib/libusb/Makefile
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2010-10-14 20:38:18 +0000
committerhselasky <hselasky@FreeBSD.org>2010-10-14 20:38:18 +0000
commit1c90ef127420e8aa353a34eb7fcf3d20ec303c46 (patch)
treed4dbe756b857cc1d5d92c6a6cbe7950dc7456747 /lib/libusb/Makefile
parentd82c33e9e33482e03f46031fd3c98d3967ce094e (diff)
downloadFreeBSD-src-1c90ef127420e8aa353a34eb7fcf3d20ec303c46.zip
FreeBSD-src-1c90ef127420e8aa353a34eb7fcf3d20ec303c46.tar.gz
- Add support for LibUSB in 32-bit compatibility mode.
Approved by: thompsa (mentor)
Diffstat (limited to 'lib/libusb/Makefile')
-rw-r--r--lib/libusb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile
index 7405ef3..10e590e 100644
--- a/lib/libusb/Makefile
+++ b/lib/libusb/Makefile
@@ -30,5 +30,9 @@ SRCS+= libusb10.c
SRCS+= libusb10_desc.c
SRCS+= libusb10_io.c
+.if defined(COMPAT_32BIT)
+CFLAGS+= -DCOMPAT_32BIT
+.endif
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud