]> sourceware.org Git - glibc.git/blame - sysdeps/powerpc/Makefile
Update.
[glibc.git] / sysdeps / powerpc / Makefile
CommitLineData
1f205a47 1ifeq ($(subdir),math)
0413b54c 2libm-support += fenv_const fe_nomask t_sqrt
1f205a47 3endif
9a0a462c
UD
4
5ifeq ($(subdir),gmon)
6sysdep_routines += ppc-mcount
7endif
8
9# On PPC, -fpic works until the GOT contains 2^15 bytes, and possibly
10# more depending on how clever the linker is. Each GOT entry takes 4 bytes,
11# so that's at least 8192 entries. Since libc only uses about 1200 entries,
12# we want to use -fpic, because this generates fewer relocs.
13ifeq (yes,$(build-shared))
650425ce 14pic-ccflag = -fpic
9a0a462c
UD
15endif
16
17# The initfini generation code doesn't work in the presence of -fPIC, so
18# we use -fpic instead which is much better.
19ifeq ($(subdir),csu)
20CFLAGS-initfini.s = -g0 -fpic
21endif
650425ce
UD
22
23ifeq ($(subdir),string)
24CFLAGS-memcmp.c += -Wno-uninitialized
25endif
This page took 0.04668 seconds and 5 git commands to generate.