Package: ntp
Version: 1:4.2.0a+stable-8

gcc generates several type punning warnings while compiling ntp and it's 
probably best to disable strict-aliasing to avoid the possibility of 
incorrect optimisations.  i didn't study the source to see if the type 
punning could be avoided... that should probably happen upstream.

-dean

--- configure.in.orig   2005-06-29 14:01:31.000000000 -0700
+++ configure.in        2005-06-29 16:26:15.000000000 -0700
@@ -110,6 +110,7 @@
 
 case "$GCC" in
  yes)
+    CFLAGS="$CFLAGS -fno-strict-aliasing"
     CFLAGS="$CFLAGS -Wall"
     # CFLAGS="$CFLAGS -Wcast-align"
     CFLAGS="$CFLAGS -Wcast-qual"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to