Inconsistency detected fix

master
rubenwardy 2014-06-30 11:09:53 +00:00
parent 70a46969db
commit cb7e988ea9
2 changed files with 9 additions and 0 deletions

View File

@ -77,6 +77,9 @@ target_link_libraries(
file(MAKE_DIRECTORY "bin")
SET(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -pthread")
set_target_properties(${PROJECT_NAME}
PROPERTIES
OUTPUT_NAME bin/nodeboxeditor

View File

@ -86,3 +86,9 @@ int main(int argc, char *argv[]) {
return 1;
}
// Fix for Inconsistency detected by ld.so
#include <pthread.h>
void junk() {
int i;
i = pthread_getconcurrency();
};