1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-11 12:10:50 +03:00
Files
glibc/sysdeps/unix/sysv/linux/s390/s390-32/Makefile
Adhemerval Zanella 1664bbf238 s390: Make utmp32, utmpx32, and login32 shared only (BZ 31790)
The function that work with 'struct utmp32' and 'struct utmpx32'
are only for compat symbols.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
2024-05-23 09:36:08 -03:00

32 lines
634 B
Makefile

# See Makeconfig regarding the use of default-abi.
default-abi := 32
ifeq ($(subdir),login)
sysdep_routines += utmp32 utmpx32 login32
shared-only-routines += utmp32 utmpx32 login32
endif
ifeq ($(subdir),misc)
sysdep_headers += sys/elf.h
endif
ifeq ($(subdir),elf)
ifeq (yes,$(build-shared))
# This is needed to support g++ v2 and v3.
sysdep_routines += framestate
shared-only-routines += framestate
endif
endif
ifeq ($(subdir),stdlib)
sysdep_routines += __makecontext_ret
endif
ifeq ($(subdir),csu)
ifeq (yes,$(build-shared))
sysdep_routines += divdi3
shared-only-routines += divdi3
CPPFLAGS-divdi3.c = -Din_divdi3_c
endif
endif