From 4368e974b955d8e9e073ea0b8a46c08599d3ecda Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Fri, 22 Apr 2011 17:22:18 -0700 Subject: [PATCH] Makefile.am: add -fno-strict-aliasing Until we audit every place we have a typecast to make sure it's safe, this should be off. Signed-off-by: Colin McCabe --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 64df91870de61..311311197d4eb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -479,7 +479,8 @@ CLEANFILES += \ ## AM_COMMON_FLAGS = -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic \ --Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith +-Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith \ +-fno-strict-aliasing AM_CFLAGS = $(AM_COMMON_FLAGS) AM_CXXFLAGS = $(AM_COMMON_FLAGS) -Wnon-virtual-dtor -Wno-invalid-offsetof \ -- 2.39.5