3 # We're actually creating a libc_noshared.a that is PIC along side libc.so.*
4 # It is used exclusively with libc.so.* - there is no need for any other
6 # bsd.lib.mk doesn't have an easy way to express that.
10 # -fpic on some platforms, -fPIC on others.
11 CFLAGS+=${PICFLAG} -DPIC -fvisibility=hidden
17 # So that an empty .a file doesn't cause errors.
20 .if ${MK_ICONV} == "yes"
21 .PATH: ${.CURDIR}/../libc/iconv
22 .include "Makefile.iconv"
23 CFLAGS+=-I${.CURDIR}/../libc/iconv
26 SRCS+= ${LIBC_NONSHARED_SRCS}