You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by pg...@apache.org on 2006/07/05 23:26:32 UTC

svn commit: r419346 - /httpd/apreq/trunk/acinclude.m4

Author: pgollucci
Date: Wed Jul  5 14:26:30 2006
New Revision: 419346

URL: http://svn.apache.org/viewvc?rev=419346&view=rev
Log:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193740

based on this, add -fno-strict-aliasing to work around gcc oddities with the APR_{RING|BRIGRADE}_* macros
particularly on linux based platforms.

Reported by: bojan@rexursive.com


Modified:
    httpd/apreq/trunk/acinclude.m4

Modified: httpd/apreq/trunk/acinclude.m4
URL: http://svn.apache.org/viewvc/httpd/apreq/trunk/acinclude.m4?rev=419346&r1=419345&r2=419346&view=diff
==============================================================================
--- httpd/apreq/trunk/acinclude.m4 (original)
+++ httpd/apreq/trunk/acinclude.m4 Wed Jul  5 14:26:30 2006
@@ -188,6 +188,7 @@
                       ])
                 # -Wdeclaration-after-statement is only supported on gcc 3.4+
         fi
+        APR_ADDTO([CFLAGS], "-fno-strict-aliasing")
 
         APR_ADDTO([CPPFLAGS], "`$APR_CONFIG --cppflags`")