summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-05-07 20:06:18 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-05-07 20:06:18 +0000
commit91249a5c7d5a262bd5831470b0047ad1de1c9230 (patch)
tree9f8b48ce4be4d52cd2ee14adc2205dd35674bd96
parentf2b1f8d768b8edce775cd280b9f24d1998941432 (diff)
downloadrockbox-91249a5c7d5a262bd5831470b0047ad1de1c9230.tar.gz
rockbox-91249a5c7d5a262bd5831470b0047ad1de1c9230.zip
Remove -fno-strict-aliasing for everyone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25888 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/configure b/tools/configure
index 27609ca13a..b2db8438e5 100755
--- a/tools/configure
+++ b/tools/configure
@@ -2835,13 +2835,6 @@ else
2835 GCCOPTS="$GCCOPTS -Wno-pointer-sign" 2835 GCCOPTS="$GCCOPTS -Wno-pointer-sign"
2836 fi 2836 fi
2837 2837
2838 if test "$gccnum" -ge "401"; then
2839 # this is a lame hack to avoid "warning: dereferencing type-punned pointer
2840 # will break strict-aliasing rules"
2841
2842 GCCOPTS="$GCCOPTS -fno-strict-aliasing"
2843 fi
2844
2845 if test "$gccnum" -ge "402"; then 2838 if test "$gccnum" -ge "402"; then
2846 # disable warning about "warning: initialized field overwritten" as gcc 4.2 2839 # disable warning about "warning: initialized field overwritten" as gcc 4.2
2847 # and later would throw it for several valid cases 2840 # and later would throw it for several valid cases