2012-05-26 17:46:59 +00:00
|
|
|
abi-variants := 32 64
|
|
|
|
abi-32-options := -U__s390x__
|
|
|
|
abi-32-condition := __WORDSIZE == 32
|
|
|
|
abi-64-options := -D__s390x__
|
|
|
|
abi-64-condition := __WORDSIZE == 64
|
2011-12-22 18:22:50 +00:00
|
|
|
|
2004-04-18 02:37:56 +00:00
|
|
|
ifeq ($(subdir),rt)
|
|
|
|
librt-routines += rt-sysdep
|
|
|
|
endif
|
2005-12-22 05:18:34 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
gen-as-const-headers += ucontext_i.sym
|
|
|
|
endif
|
2009-01-08 00:28:23 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep_routines += dl-vdso
|
|
|
|
endif
|
2014-01-07 08:36:31 +00:00
|
|
|
|
2014-06-26 16:31:11 +00:00
|
|
|
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
|