1# Copyright 2017 The Fuchsia Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5LOCAL_DIR := $(GET_LOCAL_DIR)
6
7MODULE := $(LOCAL_DIR)
8
9MODULE_TYPE := userlib
10
11# This whole module is a hack to deal with these functions needing to be compiled with
12# -fno-stack-protector
13MODULE_SRCS += $(LOCAL_DIR)/thread-functions.cpp
14MODULE_COMPILEFLAGS += $(NO_SAFESTACK) $(NO_SANITIZERS)
15
16MODULE_NAME := threads-test-threads
17
18MODULE_LIBS := \
19    system/ulib/unittest system/ulib/fdio system/ulib/zircon system/ulib/c
20MODULE_STATIC_LIBS := system/ulib/runtime
21
22include make/module.mk
23