summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/metag/Makefile.arch
blob: bc19f6b227859a0dda44ff57e4cf41c97f53eb7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Makefile for uClibc NPTL
#
# Copyright (C) 2005 Steven J. Hill <sjhill@uclibc.org>
#
# Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
#

CFLAGS-pthread_spin_init.c = -DNOT_IN_libc -DIS_IN_libpthread
ASFLAGS-pthread_spin_lock.S = -DNOT_IN_libc -DIS_IN_libpthread
ASFLAGS-pthread_spin_unlock.S = -DNOT_IN_libc -DIS_IN_libpthread
ASFLAGS-pthread_spin_trylock.S = -DNOT_IN_libc -DIS_IN_libpthread

ASFLAGS-pthread_spin_lock.c += -D_GNU_SOURCE

libc_arch_a_CSRC := libc-tls.c