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 3415a56..b736610 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 e57556c..ac646e1 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.