Fix ARMv7 FPU flag and libusb mirror in depends
Some checks failed
build / i686 Linux (push) Has been cancelled
build / i686 Win (push) Has been cancelled
build / RISCV 64bit (push) Has been cancelled
build / x86_64 Freebsd (push) Has been cancelled
build / ARM v7 (push) Has been cancelled

This commit is contained in:
t1amak
2026-03-19 12:54:28 +01:00
parent 23005512b9
commit bbf529c3f0
2 changed files with 3 additions and 3 deletions

View File

@@ -953,8 +953,8 @@ else()
if(ARM7)
if(DEPENDS AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
message(STATUS "Using Debian armhf baseline flags for ARMv7 cross-build")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=vfp3-d16 -mfloat-abi=hard")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=vfp3-d16 -mfloat-abi=hard")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=vfpv3-d16 -mfloat-abi=hard")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=vfpv3-d16 -mfloat-abi=hard")
elseif(CXX_ACCEPTS_VFP3_D16 AND NOT CXX_ACCEPTS_VFP4)
message(STATUS "Selecting VFP3 for ARMv7")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=vfp3-d16")

View File

@@ -1,6 +1,6 @@
package=libusb
$(package)_version=1.0.27
$(package)_download_path=https://github.com/libusb/libusb/releases/download/v$($(package)_version)
$(package)_download_path=https://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-$($(package)_version)
$(package)_file_name=$(package)-$($(package)_version).tar.bz2
$(package)_sha256_hash=ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575