From 4e09bd462aa2e6b0474d057cec4901158cb1ef91 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Thu, 6 May 2010 23:52:33 +0000 Subject: [PATCH] Use -fno-strict-aliasing on 4.0 as well git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25861 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure b/tools/configure index 27609ca13a..5fa79038e9 100755 --- a/tools/configure +++ b/tools/configure @@ -2835,7 +2835,7 @@ else GCCOPTS="$GCCOPTS -Wno-pointer-sign" fi - if test "$gccnum" -ge "401"; then + if test "$gccnum" -ge "400"; then # this is a lame hack to avoid "warning: dereferencing type-punned pointer # will break strict-aliasing rules"