diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-06-26 09:31:11 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-06-26 09:31:11 -0700 |
commit | 52ae23b4bfa09fa1f42e3f659aaa057d1176d06b (patch) | |
tree | 7c61e56d7fbbb3c9f82994b5d3d778cc19ee48c2 /sysdeps/unix/sysv/linux/s390/Makefile | |
parent | 39507e4a6c52d67780d194dae8cfb636e2dbb87e (diff) | |
download | glibc-52ae23b4bfa09fa1f42e3f659aaa057d1176d06b.tar.gz glibc-52ae23b4bfa09fa1f42e3f659aaa057d1176d06b.tar.xz glibc-52ae23b4bfa09fa1f42e3f659aaa057d1176d06b.zip |
Move remaining S390 code out of nptl/.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/Makefile')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/Makefile b/sysdeps/unix/sysv/linux/s390/Makefile index f91179d0fc..768f926fb8 100644 --- a/sysdeps/unix/sysv/linux/s390/Makefile +++ b/sysdeps/unix/sysv/linux/s390/Makefile @@ -22,3 +22,16 @@ ifeq (yes,$(build-shared)) sysdep_routines += v1-longjmp_chk endif endif + +ifeq ($(subdir),nptl) +ifeq ($(enable-lock-elision),yes) +libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \ + elision-trylock + +elision-CFLAGS = -mhtm +CFLAGS-elision-lock.c = $(elision-CFLAGS) +CFLAGS-elision-timed.c = $(elision-CFLAGS) +CFLAGS-elision-trylock.c = $(elision-CFLAGS) +CFLAGS-elision-unlock.c = $(elision-CFLAGS) +endif +endif |