summaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorDan Fandrich2010-02-04 04:04:56 +0100
committerDenys Vlasenko2010-02-04 04:04:56 +0100
commit1821d188ca674b42bf0f384b0c2332ff95701bba (patch)
tree7666fd803fadc230f3d2bb7df9a908aff0a231b1 /Makefile.flags
parentf111b67100d17e0dab904160a0ab18430a70b9ba (diff)
downloadbusybox-1821d188ca674b42bf0f384b0c2332ff95701bba.zip
busybox-1821d188ca674b42bf0f384b0c2332ff95701bba.tar.gz
diff: more compiler compat fixes. no code changes
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 032f6c1..60bb888 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -40,6 +40,7 @@ CFLAGS += $(call cc-option,-Werror,)
## Classic *(off_t*)(void*)ptr does not work,
## and I am unwilling to do crazy gcc specific ({ void *ppp = ...; })
## stuff in macros. This would obfuscate the code too much.
+## Maybe try __attribute__((__may_alias__))?
#CFLAGS += $(call cc-ifversion, -eq, 0404, -fno-strict-aliasing)
endif
# gcc 3.x emits bogus "old style proto" warning on find.c:alloc_action()