summaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-05-25 15:09:20 +0200
committerAndreas Schwab <schwab@redhat.com>2010-05-25 16:45:48 +0200
commit96aefb90e843648812d1832789f4a88ea5350605 (patch)
tree22765682e409dbc695efd5e9cf0d964859919915 /inet
parent8990fee3bbd1740f1a8411cd3842e0ef7278e208 (diff)
Avoid strict-aliasing issues
Diffstat (limited to 'inet')
-rw-r--r--inet/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/Makefile b/inet/Makefile
index 37985940ae..0b4a35429c 100644
--- a/inet/Makefile
+++ b/inet/Makefile
@@ -57,6 +57,8 @@ tests := htontest test_ifindex tst-ntoa tst-ether_aton tst-network \
include ../Rules
+CFLAGS-tst-inet6_rth.c = -fno-strict-aliasing
+
ifeq ($(have-thread-library),yes)
CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1 -fexceptions