mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-12 12:10:16 +00:00
d9067fca40
With this change, we no longer add sysdep.o and similar objects which are present in libc.a to other static libraries.
32 lines
742 B
Makefile
32 lines
742 B
Makefile
abi-variants := 32 64
|
|
abi-32-options := -U__s390x__
|
|
abi-32-condition := __WORDSIZE == 32
|
|
abi-64-options := -D__s390x__
|
|
abi-64-condition := __WORDSIZE == 64
|
|
|
|
ifeq ($(subdir),rt)
|
|
librt-routines += rt-sysdep
|
|
librt-shared-only-routines += rt-sysdep
|
|
endif
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
gen-as-const-headers += ucontext_i.sym
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
sysdep_routines += dl-vdso
|
|
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
|