projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4025d60
)
Deactivate gcc's strict aliasing optimizations.
author
Andre Noll
<maan@systemlinux.org>
Sat, 13 Jun 2009 17:22:51 +0000
(19:22 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 13 Jun 2009 17:22:51 +0000
(19:22 +0200)
This causes a lot of warnings which are not easy to fix and probably
harmless. So simply disallow gcc to assume the strictest aliasing
rules.
Makefile.in
patch
|
blob
|
history
diff --git
a/Makefile.in
b/Makefile.in
index
d221892
..
b4392a3
100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-50,6
+50,7
@@
CPPFLAGS += -Wmissing-format-attribute
CPPFLAGS += -Wmissing-noreturn
CPPFLAGS += -Wunused-macros
CPPFLAGS += -Wbad-function-cast
+CPPFLAGS += -fno-strict-aliasing
CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F)
CPPFLAGS += @SSL_CPPFLAGS@
CPPFLAGS += @ncurses_cppflags@