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