diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2010-02-04 04:04:56 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-04 04:04:56 +0100 |
commit | 1821d188ca674b42bf0f384b0c2332ff95701bba (patch) | |
tree | 7666fd803fadc230f3d2bb7df9a908aff0a231b1 /Makefile.flags | |
parent | f111b67100d17e0dab904160a0ab18430a70b9ba (diff) | |
download | busybox-w32-1821d188ca674b42bf0f384b0c2332ff95701bba.tar.gz busybox-w32-1821d188ca674b42bf0f384b0c2332ff95701bba.tar.bz2 busybox-w32-1821d188ca674b42bf0f384b0c2332ff95701bba.zip |
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.flags | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index 032f6c135..60bb888d8 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -40,6 +40,7 @@ CFLAGS += $(call cc-option,-Werror,) | |||
40 | ## Classic *(off_t*)(void*)ptr does not work, | 40 | ## Classic *(off_t*)(void*)ptr does not work, |
41 | ## and I am unwilling to do crazy gcc specific ({ void *ppp = ...; }) | 41 | ## and I am unwilling to do crazy gcc specific ({ void *ppp = ...; }) |
42 | ## stuff in macros. This would obfuscate the code too much. | 42 | ## stuff in macros. This would obfuscate the code too much. |
43 | ## Maybe try __attribute__((__may_alias__))? | ||
43 | #CFLAGS += $(call cc-ifversion, -eq, 0404, -fno-strict-aliasing) | 44 | #CFLAGS += $(call cc-ifversion, -eq, 0404, -fno-strict-aliasing) |
44 | endif | 45 | endif |
45 | # gcc 3.x emits bogus "old style proto" warning on find.c:alloc_action() | 46 | # gcc 3.x emits bogus "old style proto" warning on find.c:alloc_action() |