chiark / gitweb /
@@ -18,6 +18,8 @@
authorian <ian>
Fri, 20 Jun 2008 21:49:51 +0000 (21:49 +0000)
committerian <ian>
Fri, 20 Jun 2008 21:49:51 +0000 (21:49 +0000)
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
debian/changelog

index 3415a56f474f6fb0b21fbf7014f4e546bfd5e0ac..b736610bf3a99445fbc7fe8cd708abfe6cd40c15 100644 (file)
@@ -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)
index e57556ccab4ceb5641c748ff75502f5e84854068..ac646e1dabee0f0510b47c68a723cf6a0261c375 100644 (file)
@@ -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.