From: ian Date: Fri, 20 Jun 2008 21:49:51 +0000 (+0000) Subject: @@ -18,6 +18,8 @@ X-Git-Tag: debian/1.1.1~23 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=f63331266eb17877332738f80f622c94e924c118;p=chiark-tcl.git @@ -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. --- 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.