From f63331266eb17877332738f80f622c94e924c118 Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 20 Jun 2008 21:49:51 +0000 Subject: [PATCH] @@ -18,6 +18,8 @@ Closes: #394039 (FTBFS due to unhelpful GCC warning). + * Use -fno-strict-aliasing because gcc-4.3 apparently ignores + -Wno-strict-aliasing! Closes: #471004. --- base/common.make | 4 ++-- debian/changelog | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/base/common.make b/base/common.make index 3415a56..b736610 100644 --- a/base/common.make +++ b/base/common.make @@ -36,8 +36,8 @@ ifeq ($(shell $(CC) -Wno-pointer-sign -E -x c /dev/null >/dev/null || echo x),) CFLAGS += -Wno-pointer-sign endif -ifeq ($(shell $(CC) -Wno-strict-aliasing -E -x c /dev/null >/dev/null || echo x),) -CFLAGS += -Wno-strict-aliasing +ifeq ($(shell $(CC) -fno-strict-aliasing -E -x c /dev/null >/dev/null || echo x),) +CFLAGS += -fno-strict-aliasing endif CPPFLAGS += -I$(TCL_INCLUDEDIR) -I$(BASE_DIR) diff --git a/debian/changelog b/debian/changelog index e57556c..ac646e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,6 +18,8 @@ chiark-tcl (1.0.2~~iwj) unstable; urgency=low Portability fixes: * Remove unecessary assertion of val<=0xffffffffUL where uint32_t val; Closes: #394039 (FTBFS due to unhelpful GCC warning). + * Use -fno-strict-aliasing because gcc-4.3 apparently ignores + -Wno-strict-aliasing! Closes: #471004. Internal improvements: * Add a few assertions about *_LLEN in adns.c. -- 2.30.2