We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2238

Summary: Enable GCC atomics for clang
Product: SDL Reporter: Marcus von Appen <mva>
Component: atomicAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: All   
OS: All   
Attachments: cmake patch for clang and atomics

Description Marcus von Appen 2013-11-14 07:34:52 UTC
Created attachment 1441 [details]
cmake patch for clang and atomics

clang provides support for optimized atomics.
The attached patch enables the cmake build system to take clang into account on checking for atomics.
Comment 1 Sam Lantinga 2013-11-16 19:58:56 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/2c9aedfba740