Building master fails on OS X.
[ 20%] Building C object src/CMakeFiles/lib_darktable.dir/control/jobs.c.o
/Users/moeller/code/darktable/src/control/jobs.c:459:8: error: thread-local storage is not supported for the current target
static __thread int threadid = -1;
1 error generated.
make2: * [src/CMakeFiles/lib_darktable.dir/control/jobs.c.o] Error 1
make1: [src/CMakeFiles/lib_darktable.dir/all] Error 2
make: ** [all] Error 2
#2 Updated by Moritz Moeller about 2 years ago
This can be fixed by bumping DCMAKE_OSX_DEPLOYMENT_TARGET. I only tried 10.11.
#3 Updated by Igor Kuzmin about 2 years ago
- Assignee set to Igor Kuzmin
Which compiler are you using? Because it should work with gcc and deployment target mentioned in BUILD.txt and you are probably using Xcode's clang. If you're building for yourself there's no real need to set deployment target at all, it should build fine then.