diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-15 17:13:33 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-15 17:13:33 +0000 |
commit | 9299735c75ba99347c7280b2e73064bef693989f (patch) | |
tree | e9034f3844a2dc1a2567d26c1ebe3c8407ca9493 /Demos/Device/ClassDriver/MassStorageKeyboard/makefile | |
parent | f4710f6f8653219b432f3a843ce117d4f4c136fd (diff) | |
download | lufa-9299735c75ba99347c7280b2e73064bef693989f.tar.gz lufa-9299735c75ba99347c7280b2e73064bef693989f.tar.bz2 lufa-9299735c75ba99347c7280b2e73064bef693989f.zip |
Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase.
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorageKeyboard/makefile')
-rw-r--r-- | Demos/Device/ClassDriver/MassStorageKeyboard/makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/MassStorageKeyboard/makefile b/Demos/Device/ClassDriver/MassStorageKeyboard/makefile index 928aa0eb7..16d6712fd 100644 --- a/Demos/Device/ClassDriver/MassStorageKeyboard/makefile +++ b/Demos/Device/ClassDriver/MassStorageKeyboard/makefile @@ -224,9 +224,10 @@ CFLAGS += -O$(OPT) CFLAGS += -funsigned-char CFLAGS += -funsigned-bitfields CFLAGS += -ffunction-sections +CFLAGS += -fno-inline-small-functions CFLAGS += -fpack-struct CFLAGS += -fshort-enums -CFLAGS += -finline-limit=20 +CFLAGS += -fno-strict-aliasing CFLAGS += -Wall CFLAGS += -Wstrict-prototypes CFLAGS += -Wundef |