Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
nodejs-electron
electron-13-fix-base-check-nomerge.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File electron-13-fix-base-check-nomerge.patch of Package nodejs-electron
Index: electron-15.3.3/base/compiler_specific.h =================================================================== --- electron-15.3.3.orig/base/compiler_specific.h 2021-12-15 12:00:50.016321177 +0100 +++ electron-15.3.3/base/compiler_specific.h 2021-12-15 13:09:17.144985381 +0100 @@ -365,7 +365,8 @@ inline constexpr bool AnalyzerAssumeTrue #endif // defined(__clang_analyzer__) // Use nomerge attribute to disable optimization of merging multiple same calls. -#if defined(__clang__) && __has_attribute(nomerge) +#if defined(__clang__) && (__clang_major__ >= 12) && \ + __has_attribute(nomerge) && !defined(OS_CHROMEOS) #define NOMERGE [[clang::nomerge]] #else #define NOMERGE
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