host: remove pthread dependency

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-04-25 22:47:52 +02:00
parent cdceac7a79
commit 378d572193
3 changed files with 0 additions and 5 deletions

View File

@ -2,8 +2,5 @@
target_include_directories(sof_options INTERFACE ${PROJECT_SOURCE_DIR}/src/arch/host/include)
target_include_directories(sof_options INTERFACE ${PROJECT_SOURCE_DIR}/src/platform/library/include)
# linker flags
target_link_libraries(sof_options INTERFACE -lpthread)
# C & ASM flags
target_compile_options(sof_options INTERFACE -g -O3 -Wall -Werror -Wl,-EL -Wmissing-prototypes -Wimplicit-fallthrough=3)

View File

@ -36,7 +36,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#define PLATFORM_IRQ_CHILDREN 0

View File

@ -34,7 +34,6 @@
#include <stdint.h>
#include <errno.h>
#include <pthread.h>
typedef struct {
} spinlock_t;