mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
parent
673f9ad5c0
commit
4da24fb490
@ -15,6 +15,9 @@ Name: libusb-%{libusb_version}-%{_host}-%{release}
|
|||||||
%description
|
%description
|
||||||
LibUSB for host %{_host}.
|
LibUSB for host %{_host}.
|
||||||
|
|
||||||
|
%hash sha512 libusb-%{libusb_version}.tar.bz2 \
|
||||||
|
u8PXXLkfTmoCRUnCusOO6FrtqFKaRVP9NryOilwiPNieuVLtpx/MAHHWxsgYoGMdTMoIT+1p1Jhu7l3PmofWYg==
|
||||||
|
|
||||||
#
|
#
|
||||||
# The Libuxb build instructions. We use 1.xx Release 1.
|
# The Libuxb build instructions. We use 1.xx Release 1.
|
||||||
#
|
#
|
||||||
|
@ -33,8 +33,10 @@ URL: http://libusb.org/
|
|||||||
cd libusb-%{libusb_version}
|
cd libusb-%{libusb_version}
|
||||||
|
|
||||||
%if "%{_build}" != "%{_host}"
|
%if "%{_build}" != "%{_host}"
|
||||||
CFLAGS_FOR_BUILD="-g -O2 -Wall" \
|
LIBUSB_CFLAGS_FOR_BUILD="-g -O2 -Wall"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
CFLAGS_FOR_BUILD=${LIBUSB_CFLAGS_FOR_BUILD} \
|
||||||
CFLAGS="$SB_CFLAGS" \
|
CFLAGS="$SB_CFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--build=%{_build} --host=%{_host} \
|
--build=%{_build} --host=%{_host} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user