diff options
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 |