add -fPIC to some tests.
[uclibc-ng.git] / test / inet / Makefile.in
blob38aec616bdae04ef25054b504b19939093a370db
1 # uClibc inet tests
2 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
4 ifeq ($(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
5 TESTS_DISABLED := bug-if1 gethost_r-align gethostid if_nameindex tst-aton \
6 tst-network tst-ntoa
7 endif
9 ifeq ($(UCLIBC_HAS_SOCKET)$(UCLIBC_HAS_IPV4)$(UCLIBC_HAS_IPV6),)
10 TESTS_DISABLED += tst-ether_aton tst-ethers tst-ethers-line
11 endif
13 ifeq ($(UCLIBC_HAS_RESOLVER_SUPPORT),)
14 TESTS_DISABLED += tst-res
15 else
16 LDFLAGS_tst-res_glibc := -lresolv # assume it's glibc or somebody with that lib
17 endif
19 CFLAGS_bug-if1 = -fPIC
20 CFLAGS_tst-sock-nonblock = -fPIC