projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07f6023
)
configure: undo using autobuilds to temporarily verify strict aliasing warnings.
author
Yang Tse
<yangsita@gmail.com>
Thu, 2 Dec 2010 18:09:15 +0000
(19:09 +0100)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 2 Dec 2010 18:09:15 +0000
(19:09 +0100)
m4/curl-compilers.m4
patch
|
blob
|
history
diff --git
a/m4/curl-compilers.m4
b/m4/curl-compilers.m4
index
44998c0
..
413293b
100644
(file)
--- a/
m4/curl-compilers.m4
+++ b/
m4/curl-compilers.m4
@@
-935,11
+935,6
@@
AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
dnl Also, on gcc 4.0.X it is totally unbearable and complains all
dnl over making it unusable for generic purposes. Let's not use it.
tmp_CFLAGS="$tmp_CFLAGS"
- dnl When cross-compiling with gcc 3.0 or later,
- dnl enable strict aliasing rules and warnings.
- if test "x$cross_compiling" = "xyes"; then
- tmp_CFLAGS="$tmp_CFLAGS -fstrict-aliasing -Wstrict-aliasing=2"
- fi
fi
#
dnl Only gcc 3.3 or later