Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 758929 Details for
Bug 829144
app-misc/vcontrold-0.98.10 fails to compile with -fno-common: ld.lld: error: duplicate symbol: TxRx
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the clang build
clang.patch (text/plain), 734 bytes, created by
Tobias Leupold
on 2021-12-14 12:03:35 UTC
(
hide
)
Description:
Patch to fix the clang build
Filename:
MIME Type:
Creator:
Tobias Leupold
Created:
2021-12-14 12:03:35 UTC
Size:
734 bytes
patch
obsolete
>diff --git a/CMakeLists.txt b/CMakeLists.txt >index 4519c5e..9d06d76 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -10,8 +10,10 @@ option(MANPAGES "Build man pages via rst2man" ON) > option(VCLIENT "Build the vclient helper program (for communication with vcontrold)" ON) > option(VSIM "Build the vsim helper program (for development and testing purposes)" OFF) > >-# Default to -fcommon for GCC 10 >-if (CMAKE_C_COMPILER_ID MATCHES "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 10) >+# Default to -fcommon for GCC 10 and clang >+if ((CMAKE_C_COMPILER_ID MATCHES "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 10) >+ OR CMAKE_C_COMPILER_ID MATCHES "Clang") >+ > set (CMAKE_C_FLAGS "-fcommon ${CMAKE_C_FLAGS}") > endif () >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 829144
:
758848
| 758929