Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
mustang-plug
0001-Add-missing-UsbDeviceMock-for-MustangTest....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-missing-UsbDeviceMock-for-MustangTest.patch of Package mustang-plug
From db01f0ca6dc31cc0fec965e5b056cda4fbe82ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de> Date: Mon, 18 Jul 2022 22:52:18 +0200 Subject: [PATCH] Add missing UsbDeviceMock for MustangTest When the test is linked with -Wl,--no-undefined, LD detects the missing `plug::com::usb::Device::receive(unsigned char, unsigned long)` and similar, required from UsbComm. (The test does not actually call any of the missing functions, but the linker is not able to detect this, in general. With LTO, the undefined but unused symbols are removed completely.) --- test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b61a3ef..38bbcb9 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -24,6 +24,7 @@ target_link_libraries(MustangTest PRIVATE plug-communication TestLibs LibUsbMocks + UsbDeviceMock ) -- 2.37.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor