Remove abi-*-options compiler flags
[glibc.git] / sysdeps / unix / sysv / linux / powerpc / Makefile
blob19ac59d8620bcec050b7b886e09edccbb2baca93
1 abi-variants := 32 64-v1 64-v2
2 abi-32-condition := __WORDSIZE == 32
3 abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
4 abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
6 ifeq ($(subdir),rt)
7 librt-routines += rt-sysdep
8 librt-shared-only-routines += rt-sysdep
9 endif
11 ifeq ($(subdir),stdlib)
12 gen-as-const-headers += ucontext_i.sym
13 endif
15 ifeq ($(subdir),elf)
16 sysdep_routines += dl-vdso
17 ifeq ($(build-shared),yes)
18 # This is needed for DSO loading from static binaries.
19 sysdep-dl-routines += dl-static
20 endif
21 # Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls.
22 LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize
23 endif
25 ifeq ($(subdir),misc)
26 sysdep_headers += bits/ppc.h
27 sysdep_routines += get_timebase_freq
28 tests += test-gettimebasefreq
29 tests += test-powerpc-linux-sysconf
30 endif
32 ifeq ($(subdir),nptl)
33 libpthread-routines += sysdep
34 libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
35 elision-trylock
36 libpthread-shared-only-routines += sysdep
37 endif