bare/libusb: Fix the configuration and add a hash

Updates #4014
This commit is contained in:
Chris Johns
2020-08-11 11:36:47 +10:00
parent 673f9ad5c0
commit 4da24fb490
2 changed files with 6 additions and 1 deletions

View File

@@ -33,8 +33,10 @@ URL: http://libusb.org/
cd libusb-%{libusb_version}
%if "%{_build}" != "%{_host}"
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
LIBUSB_CFLAGS_FOR_BUILD="-g -O2 -Wall"
%endif
CFLAGS_FOR_BUILD=${LIBUSB_CFLAGS_FOR_BUILD} \
CFLAGS="$SB_CFLAGS" \
./configure \
--build=%{_build} --host=%{_host} \