blob: 533d7639156e23299d3874b5907b79b2fece2753 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001ifeq ($(subdir),string)
2CFLAGS-memcmp.c += -Wno-uninitialized
3endif
4
5ifeq ($(subdir),elf)
6# extra shared linker files to link into dl-allobjs.so and libc
7sysdep-dl-routines += dl-machine
8sysdep_routines += dl-machine
9# extra shared linker files to link only into dl-allobjs.so
10sysdep-rtld-routines += dl-machine
11# Don't optimize GD tls sequence to LE.
12LDFLAGS-tst-tlsopt-powerpc += -Wl,--no-tls-optimize
13tests += tst-tlsopt-powerpc
14endif
15
16ifeq ($(subdir),setjmp)
17ifeq (yes,$(build-shared))
18sysdep_routines += novmx-longjmp novmx-sigjmp
19endif
20endif
21
22ifeq ($(subdir),csu)
23# get offset to rtld_global._dl_hwcap and rtld_global._dl_hwcap2
24gen-as-const-headers += rtld-global-offsets.sym
25# get offset to __locale_struct.__ctype_tolower
26gen-as-const-headers += locale-defines.sym
27endif
28
29ifeq ($(subdir),misc)
30sysdep_headers += sys/platform/ppc.h
31tests += test-gettimebase
32endif
33
34ifneq (,$(filter %le,$(config-machine)))
35abilist-pattern = %-le.abilist
36endif